-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Hi
I had a similar problem. I used the following code:
setup = panel.matrices(as.data.frame(as_tibble(dt, unit='ID',time='Year',outcome = '万人绿色专利申请量',treatment = 'treatment')))
But the results told me:
"Error in panel.matrices(as.data.frame(as_tibble(dt, unit = "ID", time = "Year", :
The treatment status should be in 0 or 1."
I'm sure my "treatment" contains only 0s and 1s, no nulls. Also, I changed the "treatment" to int type.
So, what should I do for the best?
Metadata
Metadata
Assignees
Labels
No labels