Hi guys, I want to do a regression like the equation showed in the following picture. I have date for 100 cities, and my equation requires two coefficients. One is for city i, and the other for the rest 100-i cities, which are the same. I tried the CNSREG, but it is difficult because I have to constraint 99 variable. The help is highly needed. Thanks!
Array
Related Posts with how to regress with the same coefficients for many vairiables
Renaming the variables by parsing a stringDear all, First-time poster here. I am using the PSID data set and want to include all the variable…
did_multiplegt option average_effect() incorrectly specifiedHello Stata Forum, I am running a staggered TWFE with dynamic/heterogenous effects and a continuous…
Help with loopI have 1200 CIQ_ID, each of which is a company. For each CIQ_ID/company, I have raw returns and mark…
Ex-post MDEHi everyone, I am trying to perform some ex-post power estimations, particularly trying to estimate…
Creating Dummy Variable r(109) errorHi Everyone, I am trying to solve r(109) error after used the following code. Could someone please…
Subscribe to:
Post Comments (Atom)
0 Response to how to regress with the same coefficients for many vairiables
Post a Comment