Skip to content

Commit

Permalink
#415 number of observations in DID regression incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed May 4, 2016
1 parent 8b926ab commit 06dc911
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Explore/LineChartView.cpp
Expand Up @@ -1270,7 +1270,7 @@ void LineChartFrame::RunDIDTest()
do_white_test);

m_resid1= m_DR->GetResidual();
printAndShowClassicalResults(row_nm, y, table_int->GetTableName(), wxEmptyString, m_DR, m_obs, nX, do_white_test);
printAndShowClassicalResults(row_nm, y, table_int->GetTableName(), wxEmptyString, m_DR, n, nX, do_white_test);
m_yhat1 = m_DR->GetYHAT();

wxDateTime now = wxDateTime::Now();
Expand Down Expand Up @@ -1334,7 +1334,7 @@ void LineChartFrame::RunDIDTest()
do_white_test);

m_resid1= m_DR->GetResidual();
printAndShowClassicalResults(row_nm, y, table_int->GetTableName(), wxEmptyString, m_DR, m_obs, nX, do_white_test);
printAndShowClassicalResults(row_nm, y, table_int->GetTableName(), wxEmptyString, m_DR, n, nX, do_white_test);
m_yhat1 = m_DR->GetYHAT();

wxDateTime now = wxDateTime::Now();
Expand Down Expand Up @@ -1400,7 +1400,7 @@ void LineChartFrame::RunDIDTest()
do_white_test);

m_resid1= m_DR->GetResidual();
printAndShowClassicalResults(row_nm, y, table_int->GetTableName(), wxEmptyString, m_DR, m_obs, nX, do_white_test);
printAndShowClassicalResults(row_nm, y, table_int->GetTableName(), wxEmptyString, m_DR, n, nX, do_white_test);
m_yhat1 = m_DR->GetYHAT();


Expand Down

0 comments on commit 06dc911

Please sign in to comment.