In my data set, I have a variable called "STATEID" which identifies the state to which the respondent belongs. Is there a command which I can use to do various functions within a subgroup identified by STATEID=n
Related Posts with How to Perform Functions within groups in a dataset?
PPML reset testHello to all of you. I have been working in a gravity model with 133 countries from 2005 to 2018 (O…
Merge multiple .dta files in a folderI have an Excel file (demo.xlsx) with multiple sheets with unique sheet names (A,B,C, etc). I proces…
Trouble with countingThis is what my dataset looks like: Code: input float(firmid year firm_prod) long productid double …
xtmelogit - How to solve the problem "error obtaining starting values; try fitting a marginal model in order to diagnose the problem"Dear all, I am been working on a study to examine the effect of two drugs (drug A = 1, drug B = 0) …
How to deal with ratios as dependent and independent variables in a panel data regressionHello everyone, I am trying to run a panel data regression for my thesis aimed at testing the relat…
Subscribe to:
Post Comments (Atom)
0 Response to How to Perform Functions within groups in a dataset?
Post a Comment