Thanks. I just refactored the unit to my current standard. But I cannot find the position in the code, there is no comment "get independent variable columns" in my copy, only a "get dependent variaible columns". Except for this difference, a few lines later there are lines which seem to match. Just to make sure: What is the name of the procedure? TLSMregForm.ComputeBtnClick? Near the beginning after the bunch of SetLength instructions?
Did you happen to find the help file related to this form? The pdf usually contains a tested example of OpenStat which allows me to check the routine.
If there is not help file and no demo can you submit a sample file with the expected results?
it's in procedure TLSMregForm.ComputeBtnClick(Sender: TObject);
yeah, comment was added by me...
you can use the file (9_23_results.tab), link here:
https://drive.google.com/file/d/1qsJE1sOHFYYkizcK7W0nbiTgpAQK2dUn/view?usp=sharing.
Result of least squares multiple regression should be:
"
Least Squares Multiple Regression by Bill Miller
Product-Moment Correlations Matrix with 20 cases.
Variables
RF Power (W)Etch Rate (A/min)
RF Power (W) 1,000 0,940
Etch Rate (A/min) 0,940 1,000
Means with 20 valid cases.
Variables RF Power (W)Etch Rate (A/min)
190,000 617,750
Standard Deviations with 20 valid cases.
Variables RF Power (W)Etch Rate (A/min)
22,942 61,648
Variance Y = 3800,513 SSY = 7704511,000 SDY = 61,648
Least Squares Multiple Regression by Bill Miller
Product-Moment Correlations Matrix with 20 cases.
Variables
RF Power (W)Etch Rate (A/min)
RF Power (W) 1,000 0,940
Etch Rate (A/min) 0,940 1,000
Means with 20 valid cases.
Variables RF Power (W)Etch Rate (A/min)
190,000 617,750
Standard Deviations with 20 valid cases.
Variables RF Power (W)Etch Rate (A/min)
22,942 61,648
Variance Y = 3800,513 SSY = 7704511,000 SDY = 61,648
MEANS with 20 valid cases.
Variables RF Power (W) Intercept
190,000 1,000
VARIANCES with 20 valid cases.
Variables RF Power (W) Intercept
526,316 0,000
STD. DEV.S with 20 valid cases.
Variables RF Power (W) Intercept
22,942 0,000
SSY = 72209,75, SSreg = 63857,29, SSres = 8352,46
R2 = 0,8843, F = 137,62, D.F. = 1 18, Prob>F = 0,0000
Standard Error of Estimate = 21,54
Variable Beta B Std.Err. t prob VIF TOL
RF Power (W) 0,940 2,527 0,215 11,731 0,000 1,000 1,000
Intercept 0,000 137,620 41,211 3,339 0,004 20,000 0,050
SOURCE DF SS MS F Prob.>F
Regression 1 63857,290 63857,290 137,6159
Residual 19 8352,460 464,026
Total 19 72209,750
R2 = 0,8843, F = 137,62, D.F. = 1 18 Prob.>F = 0,0000
Adjusted R2 = 0,8779
Standard Error of Estimate = 21,54
Variable Beta B Std.Err. t prob VIF TOL
RF Power (W) 0,940 2,527 0,215 11,731 0,000 1,000 1,000
Intercept 0,000 137,620 41,211 3,339 0,004 20,000 0,050
SOURCE DF SS MS F Prob.>F
Regression 1 63857,290 63857,290 137,6159
Residual 19 8352,460 464,026
Total 19 72209,750
R2 = 0,8843, F = 137,62, D.F. = 1 18 Prob.>F = 0,0000
Adjusted R2 = 0,8779
Standard Error of Estimate = 21,54
Entry requirements met