I performed a Poisson regression with robust variance estimation. I have 3 independent variables. The X1 = 1(1)100. For each value of X1 there are 500 to 2000 observations. The X2 is a deterministic, non-linear function of X1, and so is the X3. In other words, for each value of X1, all observations of X2 are the same. For each value of X1, all observations of X3 are the same. I want to use the margins function wherein for each value of X1 (i.e., at(X1=(1(1)100)), the mean of X2 is used and the mean of X3 is used. I do not want to use the mean of X2 among all values of X1. Is there a way to make this specification?
Related Posts with Using margins with several related continuous variables
The -labellacking- command can't run under Stata 16Dear Stata users, Command -labellacking- was written by Nick Cox and Robert Picard. (Distribution-D…
2SLS with multinomial logitHi, I have 2 endogenous variables in my model, y1 and y2, in which y2 is price and is a continuous …
Accessing Variables from Python script in StataI am working on a project where I need to collect daily values for variables where each day is in it…
How do I choose the suitable analysis method for data? What is the suitable method that must I apply with my data properties? - I have a Panel with N= 1…
Overidentification problem in a dynamic panelHello, I am working with a dynamic panel data model, the method I am using is a System GMM, my T = 1…
Subscribe to:
Post Comments (Atom)
0 Response to Using margins with several related continuous variables
Post a Comment