insongkim / PanelMatch

113 stars 34 forks source link

error:“please convert time id to consecutive integers”? #76

Closed Amy1028 closed 3 years ago

Amy1028 commented 3 years ago

Hi,I have a question. I am sure I have converted “year” variable to integer,with increasing by 1 each time. But it always reports “please convert time id to consecutive integers” and I can‘t continue my analysis,panalmatch or panelestim. I don’t know if anybody meet problem like this.Can someone help me to solve it? Thank you very much!

Amy1028 commented 3 years ago

I have converted all variables into integer,but it still reports there are some non-numerical data in “time treatment or id”. how can I solve it?

dkwu02 commented 3 years ago

Hello, I also see the report “please convert time id to consecutive integers”, but I'm very sure the time variable is consecutive. How can I solve it? Thanks!

adamrauh commented 3 years ago

@Amy1028 @dkwu02 Could you post a sample of your code?

dkwu02 commented 3 years ago

Hello! I got the point! The time variable is required to set integer type. Thanks!

Amy1028 commented 3 years ago

Hello! I got the point! The time variable is required to set integer type. Thanks!

Thanks you!

liulin76 commented 2 years ago

Which command do you use?