Changeset 1627a73 in tol
- Timestamp:
- Aug 31, 2012, 9:33:00 AM (14 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 0c96479
- Parents:
- 0c1edd7
- File:
-
- 1 edited
-
tol/btol/bmodel/estim.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/bmodel/estim.cpp
r0c1edd7 r1627a73 142 142 { 143 143 M_->iterationNumber_ = 0; 144 if(ok_ )144 if(ok_ && M_->numParam_) 145 145 { 146 146 M_->GetParameter(); … … 178 178 if(ok_) 179 179 { 180 M_->GetParameter(); 181 BInt N1 = M_->residuous_.Size(); 182 BInt N2 = M_->paramAPrioriResiduals_.Size(); 183 N1 -= N2; 184 M_->residuous_.ReallocBuffer(N1); 185 M_->standardError_ = Sqrt(MtMSqr(M_->A_ )(0,0)/M_->A_.Rows()); 186 M_->informationMatrix_ = M_->informationMatrix_/(M_->standardError_^2); 187 188 M_->IntegrateMissingValues(); 180 if(M_->numParam_) 181 { 182 M_->GetParameter(); 183 BInt N1 = M_->residuous_.Size(); 184 BInt N2 = M_->paramAPrioriResiduals_.Size(); 185 N1 -= N2; 186 M_->residuous_.ReallocBuffer(N1); 187 M_->standardError_ = Sqrt(MtMSqr(M_->A_ )(0,0)/M_->A_.Rows()); 188 M_->informationMatrix_ = M_->informationMatrix_/(M_->standardError_^2); 189 M_->IntegrateMissingValues(); 190 } 189 191 M_->Statistics(); 190 192 M_->Diagnostics(); 193 Std("\n"); 191 194 } 192 195 return(ok_); … … 281 284 if(fixed) 282 285 { 283 aux = BText(" RESTRICTED to Normal(") +mod.paramAPrioriNu_[n]+","+284 mod.paramAPrioriSigma_ [n]+")";286 aux = BText(" RESTRICTED to Normal(") +mod.paramAPrioriNu_[n]+","+ 287 mod.paramAPrioriSigma_ [n]+")"; 285 288 } 286 289 Std(BText("\nParameter ")+ mod.paramAPrioriName_ [n] + 287 " with order " + mod.paramAPrioriOrder_ [n] + " is " +aux);290 " with order " + mod.paramAPrioriOrder_ [n] + " is " +aux); 288 291 } 289 292 } … … 293 296 { 294 297 mod.CopyInfToSet(contens_); 295 } 298 } 296 299 BGrammar::DecLevel(); 297 300 return;
Note: See TracChangeset
for help on using the changeset viewer.
