Dear Statistical users:
For help, I want to randomly select 95% of a sample for logistic regression, repeat for 100 times, and calculate the frequency of each variable included. What should I do? if should I use the loop function?
thank you very much!
Related Posts with selection variable by loop 95% samples in stata16
How to overcome the word limitation of 12 in Stata output table when using esttab?I remember somewhere that the word limitation for variable name in Stata is 12, and I try with estta…
xtmixed command combined with by() or bysort()Dear Statalists, Is it possible to run xtmixed command by different criteria? For example, I have a…
Global macro with adjusted logistic regression with factor variablesI want to use global macro in crude and adjusted logistic regression. webuse bpwide generate bp = (…
Fastest code for finding unique valuesI have a dataset of one million observation and have around 200 variables. I am struggling with find…
what does the size() option on bootstrap do?I apparently do not understand the documentation for the bootstrap command. Code: . sysuse auto, cl…
Subscribe to:
Post Comments (Atom)
0 Response to selection variable by loop 95% samples in stata16
Post a Comment