SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Error in check names MiceconCES [ Reply ]
By: Darius Ma on 2019-05-14 13:42
[forum:46722]
All is good now. It was a problem with the dataset.

Error in check names MiceconCES [ Reply ]
By: Darius Ma on 2019-05-14 08:45
[forum:46720]
Dear all,

I have an issue regarding the code. The following gives me "Error in checkNames(c(yName, xNames, tName), names(data)) :
object(s) 'Yhat', 'Khat', 'Lhat', 'time' not found."

CODE:

# Load the micEconCES package
library("micEconCES")

# Load the data set
load("Firm")

# Names of inputs and output
yName <- "Yhat"
xNames1 <- c("Khat", "Lhat", "Elhat", "Nelhat")

## Estimate CES: Land & Labor with fixed returns to scale
cesNM1 <- cesEst( yName, xNames1,tName= "time", data = Firm, method = "NM")

summary(cesNM1)

Does anyone have a clue?

Thank you in advance

Thanks to:
Vienna University of Economics and Business Powered By FusionForge