当前位置:网站首页>Linear regression analysis of parent-child height data set
Linear regression analysis of parent-child height data set
2022-06-23 13:45:00 【Little monster】
Parents - Linear regression analysis of children's height data set
Catalog
brief introduction
“ If a father is tall, his son is tall , A short father makes a short son ”( That is, the height of father and son is related , And is positively correlated )、“ The mother is a nest high , The father is one higher ”( That is, the height of the mother has a greater impact on the children than that of the father ) Whether the customs and legends of are established ? Please be there. “ Height of parents and children ” Data sets ( Galton data set ) On the basis of this, we use linear regression to make scientific analysis .
1) Select the height data of father and son as X-Y, use Excel Calculate the linear regression equation and correlation coefficient 、 variance 、p It's worth waiting for , Judge whether the regression equation is tenable . Now if you have data for a new family , Father's height is known 75 Inch , Please measure the height of your son ?
2) Select the height data of mother and child as X-Y, use Excel Calculate the linear regression equation and correlation coefficient 、 variance 、p It's worth waiting for , Judge whether the regression equation is tenable .
3) Based on the above data , Clarify your analysis of whether the custom statement is correct .
4) You can use multiple linear regression , Calculate the father 、 The regression equation of the height of mother and son ?
One 、 Father and son height data
1、 regression analysis
Data analysis 

Take father's height as X, The height of the child is Y
View analysis results 
Set the starting value of coordinates 
Add trendline 
Display the analytical formula of fitting line 
View results 
The correlation coefficient :-0.0374
variance :0.51779
p value :0.480549
Fitting equation :y=-0.0374x+77.683
2、 Height prediction
problem : Father's height is known 75 Inch , Measure the height of your son ;y=75*(-0.0374)+77.683=74.878
From the forecast data , There is no positive correlation between father's height and children's height , The saying of custom is wrong . When my father is 75 when , According to the table, there are children whose height is lower than the predicted height .
Two 、 Height data of mother and child
1、 regression analysis
The steps are the same as above , Here is the analysis result directly .
Add trend line , Displays the fitted line equation 
2、 related data
The correlation coefficient :0.4134
variance :4.69972
P value :0.043075
Fitting equation :y=0.4134*x+35.292
3、 Relevant numerical knowledge
The characteristics of relational numbers :
The correlation coefficient r Is a statistic that represents the strength and direction of linear correlation between two random variables , It's one A dimensionless number , Value range -1≤r≤1;r The positive and negative values of indicate the direction of linear correlation between two variables , namely r>0 It's positive correlation ,r<0 It's a negative correlation ,r=0 Zero correlation ; r And regression coefficient b The same symbol as ;. r The absolute value of indicates the closeness of the linear correlation between the two variables ,|r | The more close to 1, Indicates that the higher the closeness ,|rI The more close to 0, Indicates that the lower the closeness .
Variance analysis and regression analysis are related but not identical analysis methods . Analysis of variance mainly studies the qualitative relationship between the influence of each variable on the results , So as to eliminate the variables that have little impact on the results , Improve the efficiency and accuracy of the test . Regression analysis is to study the quantitative relationship between variables and results , Get the corresponding mathematical model . In regression analysis , It is necessary to conduct variance analysis on the impact of each variable on the results , To eliminate the variables that have little influence , Improve the effectiveness of regression analysis .
In regression analysis , Analysis of variance will be used to judge the impact of each variable on the results , So as to determine which factors should be included in the regression equation , Which should not be included in the regression equation due to the small variance of the results .
If P Great value , Illustrate this T The value is very close to the origin , and P Small values , It means T The value is far from the origin (T The greater the absolute value of ,P The smaller it is ), Based on the above analysis ,P The smaller the better. .
3、 ... and 、 Summary and references
1、 summary
A thorough understanding of linear regression analysis .
2、 Reference material
Excel Do linear regression analysis .
How to judge whether the regression equation is tenable .
边栏推荐
- Has aaig really awakened its AI personality after reading the global June issue (Part 1)? Which segment of NLP has the most social value? Get new ideas and inspiration ~
- 智能数字看板解决方案
- Broadcast level E1 to aes-ebu audio codec E1 to stereo audio XLR codec
- Loss, duplication and backlog of message queues
- 逆向调试入门-了解PE结构文件
- Tuikit audio and video low code solution navigation page
- Quartus call & design D trigger Simulation & timing wave verification
- Runtime application self-protection (rasp): self-cultivation of application security
- How deci and Intel can achieve up to 16.8x throughput improvement and +1.74% accuracy improvement on mlperf
- #yyds干货盘点# 解决剑指offer: 判断是不是平衡二叉树
猜你喜欢

What is the principle of live CDN in the process of building the source code of live streaming apps with goods?

串口、COM、UART、TTL、RS232(485)区别详解

利用XtraDiagram.DiagramControl进行流程图形的绘制和控制

Best practices for auto plug-ins and automatic batch processing in openvinotm 2022.1

Monitor the cache update of Eureka client
![[deeply understand tcapulusdb technology] transaction execution of document acceptance](/img/d9/f6735906a130834c4b3e28de2b2617.png)
[deeply understand tcapulusdb technology] transaction execution of document acceptance
[email protected] Hdmi2.0 optical transceiver HDMI HD video optical transceiver"/>4k-hdmi optical transceiver 1 channel [email protected] Hdmi2.0 optical transceiver HDMI HD video optical transceiver

CRMEB 二开短信功能教程

Former amd chip architect roast said that the cancellation of K12 processor project was because amd counseled!

那些技术实战中的架构设计方法
随机推荐
Germancreditdata of dataset: a detailed introduction to the introduction, download and use of germancreditdata dataset
服务稳定性治理
vulnhub靶机Os-hackNos-1
OpenVINOTM 2022.1中AUTO插件和自动批处理的最佳实践
Modelsim 安装步骤详解
IEEE transaction journal revision process record
同花顺网上开户安全吗,需要注意什么
Scope of groovy
How do the top ten securities firms open accounts? Is online account opening safe?
AI 参考套件
Monitor the cache update of Eureka client
Configure SSH Remote Login for H3C switch
父母-子女身高数据集的线性回归分析
深入剖析MobileNet和它的变种
4E1 PDH optical transceiver 19 inch rack type single fiber transmission 20km E1 interface optical network optical transceiver
How to correctly calculate the number of rows imported into EXCEL (poi/npoi)
React query tutorial ④ - cache status and debugging tools
Detailed explanation of kubernetes log monitoring system architecture
KDD 2022 | epileptic wave prediction based on hierarchical graph diffusion learning
Learning experiences on how to design reusable software from three aspects: class, API and framework