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
install ado filesHello, I am trying to install some ado files which I downloaded from a website in my stata. I read …
Significance levels in StataHello, I have a question on how Stata calculates significance levels. When I get a P-value of 0.00…
Generate a count variable capturing # of times a value occurs in categorical variablesDear Stata users, I have a panel data set with 14 string variables each of which indicates whether …
Generating a variable that tracks the first time 2 IDs appear simultaneouslyHi, I am new to Stata, so I am not very familiar with the codes. I have a dataset with multiple var…
How to deal with missings on partner information if the person has no partner?Dear all, I use panel / survey data and in my estimations I include variables like "age of partner"…
Subscribe to:
Post Comments (Atom)
0 Response to selection variable by loop 95% samples in stata16
Post a Comment