You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same issue, you should check that you have a record for each combination of unit and time period. If you have a unit without a record for a given time period, you'll get this.
Mine weren't complete, once I removed those units, it fully run
I'm trying to run a synthetic control model with my data and I'm getting the error message below. Can someone help me, please?
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\SyntheticControlMethods\main.py", line 333, in init
original_checked_input = self._process_input_data(
File "C:\ProgramData\Anaconda3\lib\site-packages\SyntheticControlMethods\main.py", line 175, in _process_input_data
control_outcome_all, control_outcome, unscaled_control_covariates = self._process_control_data(
File "C:\ProgramData\Anaconda3\lib\site-packages\SyntheticControlMethods\main.py", line 243, in _process_control_data
control_outcome_all = np.array(control_data_all[outcome_var]).reshape(n_controls, periods_all).T #All outcomes
ValueError: cannot reshape array of size 773 into shape (43,18)
The text was updated successfully, but these errors were encountered: