Hi!
I'm new to Stata! I have a database model as shown below (hypothetical data). When running Prais-winsten regression, I would like to store the p-values and confidence intervals in a new variable.
The command “ statsby, by(id): prais log10_prevame year ”, stores only the beta values in a new variable. How do I store the p-value and CI as well?
I also tested the regsave command (below) but it only stores the values of the last prais-wisten regression and not the set of regressions by id (my database is approximately 2000 id)
by(id): prais log10_prevame year
regsave, tstat pval ci
Array
I thank the help of all you.
Related Posts with How to store p-value and CI in a new variable in prais-winsten regression?
Request for help- interpreting results post margins.Hello everyone, I am using probit model in Stata 16.1 to identify [dependent var] whether a firm ch…
separate regression of subgroupsHope you are enjoying the coziness of the weekend or early Monday already!. I have a data set with t…
arellano-bover/blundell-bondHello people, I have a panel data of 9 firms for a period of 11 years with no missing data. In 2017,…
Generate variable to subtract current value from previous valueHello. I am working with the NYT COVID-19 data. The data presents two years worth of COVID-19 case a…
State-of-the-art weighting methods when analyzing multiple surveys at the same timeDear Statalist: This is a bit of a longshot, but I was wondering if anyone had good references for …
Subscribe to:
Post Comments (Atom)
0 Response to How to store p-value and CI in a new variable in prais-winsten regression?
Post a Comment