The city council is considering a law that would ban smoking in all public parks. A sample has been selected from the community and tested for support of the ordinance. Age Support for Ban Supports Ban Against Ban 40 or More 78 (31.6%) 169 (68.4%) 247 (100%) Less than 40 145 (58.5%) 223 (45.1%) 103 (41.5%) 272 (54.9%) 248 (100%) 495 (100%)
Correlation
Correlation defines a relationship between two independent variables. It tells the degree to which variables move in relation to each other. When two sets of data are related to each other, there is a correlation between them.
Linear Correlation
A correlation is used to determine the relationships between numerical and categorical variables. In other words, it is an indicator of how things are connected to one another. The correlation analysis is the study of how variables are related.
Regression Analysis
Regression analysis is a statistical method in which it estimates the relationship between a dependent variable and one or more independent variable. In simple terms dependent variable is called as outcome variable and independent variable is called as predictors. Regression analysis is one of the methods to find the trends in data. The independent variable used in Regression analysis is named Predictor variable. It offers data of an associated dependent variable regarding a particular outcome.
a. how many degrees of freedome are there in this table?
b.how many cells are in this table?
c. based on the column percents, what is the strength and direction of the relationship between age and support for anti-smoking laws? how did you determine these results?
Step by step
Solved in 4 steps with 3 images