I have around 40 variables in my dataset but I actually only use around 8 of them. I assume that keeping 8 variables is better than keeping all these variables in my dataset, which may cost Stata more time to deal with the data. I am thinking of a good way to deal with that. Can I ask what you should do in this case? Do you create a new panel dataset and run the regression from that or else?
If we just keep some variables in the dataset, whether we can follow this post or is there any simpler way to do so?
Many thanks and warmest regards.
Stata 17, Windows 10.
Related Posts with What is the ideal way to keep only needed variables in panal dataset?
Nonparametric Linear regressionHello everyone, I have a dataset whose dependent variable is heavily skewed to the left. The indepe…
how to create tempfile named according to value of a local in a loop?Hi! I have 19 files, and want Stata to create a tempfile for each one, but named differently. How m…
Percentage change variable for daily dataHello, I am writing my dissertation thesis on the impact of Brexit negotiations on the value of the…
how to test residual in "rangestat (reg)"hello teacher and professor I have a question need help when I use "rangestat (reg)' to run each fac…
Unadjusted confidential interval versus adjusted CIHi all I am currently analysing some lab data from a RCT. The primary outcome is a binary variable …
Subscribe to:
Post Comments (Atom)
0 Response to What is the ideal way to keep only needed variables in panal dataset?
Post a Comment