Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65050

cannot understand source of error from coefplot

$
0
0
Hi, I am new to coefplot and have worked through many of the examples. My problem is that I do not see the source of the error in the following:

use anesN188,clear // data set of interval level vars of mean respondent ideology (avg_*) by income level, stacked by policy type and party of candidates (N= 47 states)
reg candid avg_low avg_mid avg_high if policy==1&pid==1
estimates store de
reg candid avg_low avg_mid avg_high if policy==1&pid==0
estimates store re
reg candid avg_low avg_mid avg_high if policy==2 & pid==1
estimates store ds
reg candid avg_low avg_mid avg_high if policy==2 & pid==0
estimates store rs

coefplot (de, label(Democrats)) (re, label(Republicans)), bylabel(Economic Policies) ///
|| ds rs, by(label(Social Policies)) ||, xline(0) drop(_cons)

***THEN I GET THIS ERROR
factor variables and time-series operators not allowed
r(101);

***BUT I DO NOT BELIEVE ANY OF THE VARIABLES ARE FACTOR OR TIME-SERIES.


Viewing all articles
Browse latest Browse all 65050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>