Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Linear Regression: Finding Intercept, Slope, and Correlation with MathCAD - Prof. Nam Sun , Study notes of Chemistry

The process of performing a straight-line linear regression analysis using mathcad. The instructor, nam sun wang, guides the reader through assigning data to vectors x and y, finding the intercept (a0), slope (a1), and correlation coefficient (r2), and plotting the regression line.

Typology: Study notes

Pre 2010

Uploaded on 07/30/2009

koofers-user-s9c
koofers-user-s9c 🇺🇸

10 documents

1 / 1

Toggle sidebar

Related documents


Partial preview of the text

Download Linear Regression: Finding Intercept, Slope, and Correlation with MathCAD - Prof. Nam Sun and more Study notes Chemistry in PDF only on Docsity! 1 regressb.mcd Straight-Line LINEAR REGRESSION -- fit data into the following linear form: y(x) = a0 + a1*x Instructor: Nam Sun Wang ---------------------------------------------------------------------------------------------------------------------------------------------- Assign data within a MathCAD worksheet to vectors x and y interactively. i ..0 1000 ... give a large number so that we do not have to count; redimension later. xi 1 2 3 4 5 yi 11 19 34 50 73 i ..0 last( )x ... total number of observations = =last( )x 4 Find the intercept, slope, and R2 correlation coefficient a0 intercept( ),x y =a0 9.1 a1 slope( ),x y =a1 15.5 =corr( ),x y 2 0.971 Regression Line: R( )x a0 .a1 x Plot xx ..,0 0.1 5 yi R( )xx ,xi xx
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved