Hello,
I want to perform a linear (1 independent variable) and a multiple regression with a sample of 30,000 observations.
Let's say that I can use the total sample for the linear regression, but before running the multiple regression I only want to keep the positive values of the additional independent variables before running this multiple regression (by using 'keep if var1>=0, var2>=0', etc.). This reduces the number of observations to 16,000 observations. Am I still able to discuss both regressions in an unbiased way or do I also need to use the same smaller sample of 16,000 obs for the linear regression?
Ps I have a good reason for removing the negative values as these are irrelevant for my research.
Thanks!
Related Posts with Do you need to use the same number of data observations for different types of regression?
I can never run Stepwise, always got 'command ssd is unrecognized'As the title said it. Searched and found no answer. Anyone has any clue how to overcome this? Thousa…
An error "plugin not loaded or not available: use the adoonly option" accur after "ml maximize"I am trying to learn how to use mdraws by Cappellari and Jenkins.When replicating the example test_t…
Heckprob: convergence not achievedHi everybody I have a problem with a heckprobit model. It runs perfect if i don´t consider one vari…
gather countries together?Dear All, I have the following data Code: * Example generated by -dataex-. To install: ssc install…
¿Is it possible to run a Heckprob using the comand for surveys?Hi everybody I am working on a heckprob model but the data is from the large household survey (GEIH…
Subscribe to:
Post Comments (Atom)
0 Response to Do you need to use the same number of data observations for different types of regression?
Post a Comment