SAS: Kein Gültiger Beobachtungen sind Fehler gefunden - Einfache Regression

Ich habe große panel time series data set. Ich wünschte, das zu tun diese grundlegenden SAS-regression-code:

proc sort data=dataset;
by time_id;
run;

ods output parameterestimates=pe;
proc reg data=dataset;
by time_id;
model y=x1 x2 x3....x15;
quit;
run;

Ich bekomme diese Fehlermeldung, wenn ich den code ausführen:

ERROR: No valid observations are found.
NOTE: The above message was for the following BY group:
      time_id=1
ERROR: No valid observations are found.
NOTE: The above message was for the following BY group:
      time_id=2....

Warum? Meine time_id variable existiert... ist es, weil ich zu viele time_id Variablen? Wenn ich wählen firm_id es funktioniert, aber ich möchte time_id.

Hier ist ein Beispiel meiner Daten (panel time series):

y     x  firm_id time_id
3.4   100   1   1
2.3   200   1   2
6.5   653   1   3
3     50    2   1
4.34  23    2   2
4.8   55    2   3
1.311 400   3   1
1.23  200   3   2
5.63  50    3   3
  • Die Bereitstellung von Beispieldaten wäre hilfreich bei der Identifizierung des Problems
  • Penridge gute Idee. danke!
InformationsquelleAutor Plug4 | 2012-08-02
Schreibe einen Kommentar