Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Regression analysis
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Power and sample size calculations== There are no generally agreed methods for relating the number of observations versus the number of independent variables in the model. One method conjectured by Good and Hardin is <math>N=m^n</math>, where <math>N</math> is the sample size, <math>n</math> is the number of independent variables and <math>m</math> is the number of observations needed to reach the desired precision if the model had only one independent variable.<ref>{{cite book |last1=Good |first1=P. I. |author1-link=Phillip Good|last2=Hardin |first2=J. W. |title=Common Errors in Statistics (And How to Avoid Them)|publisher=Wiley|edition=3rd|location=Hoboken, New Jersey|year=2009|page=211|isbn=978-0-470-45798-6}}</ref> For example, a researcher is building a linear regression model using a dataset that contains 1000 patients (<math>N</math>). If the researcher decides that five observations are needed to precisely define a straight line (<math>m</math>), then the maximum number of independent variables (<math>n</math>) the model can support is 4, because : <math>\frac{\log 1000}{\log5}\approx4.29 </math>.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)