Hello,
I am getting a 'type mismatch' error when running an nbreg regression with the 'fp' command, but do not get the error message when I run the regression by itself (see below). I am using Stata 15.1, and the dataset is relatively small (n=123). I am also specifying ", irr vce(boot)" in the command.
The term I am interested in transforming is a positive integer with no zero values (RTv_pDAY).
Your help is appreciated,
Enrique
. fp <RTv_pDAY>:nbreg aRT_AWB POP_10 logJOB_11 Veh_HU AvgDIST_mt <RTv_pDAY> n_PKG BUS_ACCe Com
> mtr_L Terminal TrnfHUB ///
> Fwy_ROW OneWay BRT_Silver if RT_STATION!="ARTESIA TRANSIT CENTER", irr vce(boot)
type mismatch
r(109);
end of do-file
r(109);
Related Posts with 'type mismatch' error when using 'fp' (fractional polynomial tool) with 'nbreg'
outreg2 for ivreghdfeDear Statalists, I am quite new to reghdfe and ivreghdfe. I hope someone can help me with my code. …
Interpretation of interaction variableDear all, I am analyzing whether a CEO turnover (c. 600 events) has a long-term (5 years) impact on…
Regression with or without dummy variable? + visualizationHi all, 1. I need to perform a regression with the log of house price (loglprice) as a dependent va…
Checks for Tobit regressionHi i have done a tobit regression to estimate the price elasticities of demand for alcohols and have…
how to add a grouping by variable to the scatter plot to create a panel New user to STATA pls helpHi all, Im very new user to STATA. I have the code below and am wanting to create a panel of scatter…
Subscribe to:
Post Comments (Atom)
0 Response to 'type mismatch' error when using 'fp' (fractional polynomial tool) with 'nbreg'
Post a Comment