From 06dc9110abc46af95cc6a82bf3b2a5751fffdf4c Mon Sep 17 00:00:00 2001 From: Xun Li Date: Wed, 4 May 2016 14:09:37 -0700 Subject: [PATCH] #415 number of observations in DID regression incorrect --- Explore/LineChartView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Explore/LineChartView.cpp b/Explore/LineChartView.cpp index b256b725f..0e9768439 100644 --- a/Explore/LineChartView.cpp +++ b/Explore/LineChartView.cpp @@ -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(); @@ -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(); @@ -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();