{"id":15046,"date":"2024-03-13T21:07:59","date_gmt":"2024-03-13T21:07:59","guid":{"rendered":"https:\/\/www.writemyessays.app\/blog\/questions\/lab-logistic-regression-with-video-to-walk-you-through-on-how-to-do-the-question\/"},"modified":"2024-03-13T21:07:59","modified_gmt":"2024-03-13T21:07:59","slug":"lab-logistic-regression-with-video-to-walk-you-through-on-how-to-do-the-question","status":"publish","type":"questions","link":"https:\/\/www.writemyessays.app\/blog\/questions\/lab-logistic-regression-with-video-to-walk-you-through-on-how-to-do-the-question\/","title":{"rendered":"Lab: Logistic Regression with video to walk you through on how to do the question"},"content":{"rendered":"<div style=\"padding-bottom: 8px; font-size: 19px; cursor: auto; color: inherit;\">&nbsp;<\/p>\n<div style=\"padding: 5px 5px 0px 20px; cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"cursor: auto; color: inherit;\"><span style=\"font-size: 0.8rem; line-height: 1.2rem; cursor: auto; color: inherit;\" aria-live=\"polite\"><\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"font-size: 19px; cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<div style=\"margin-left: 0.9em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-top: 0.5em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"line-height: 1.47; cursor: auto; color: inherit;\">\n<p style=\"margin-right: 0px; margin-bottom: 1em; margin-left: 0px; cursor: auto; color: inherit;\">DATA AND VIDEO TO WALK YOU THROUGH WILL BE ATTACHED BELOW<\/p>\n<p style=\"margin-right: 0px; margin-bottom: 1em; margin-left: 0px; cursor: auto; color: inherit;\"><\/p>\n<p style=\"margin-right: 0px; margin-bottom: 1em; margin-left: 0px; cursor: auto; color: inherit;\">Here is data about heart disease. You will use it to predict who gets heart disease based on their sex and cholesterol numbers. The problem with this dataset is that sex and the presence\/absence of heart disease are not labeled. You need to decide whether 0\/1 are male or female. You then need to decide whether 0\/1 for the heart disease variable means someone has heart disease. Once you figure it out, add text labels to make things clear.<\/p>\n<p style=\"margin: 0.5em 0px 1em; cursor: auto; color: inherit;\">First, set up a logistic regression model predicting heart disease using the main effects of sex and cholesterol. You know that males have higher heart disease than females. You also know that the greater someone&#8217;s cholesterol, the more likely they are to have heart disease. Look at the estimated marginal means plot to figure out what the 0\/1 values mean for the sex and heart disease variables. Once you do that, proceed to the quiz and answer the questions.<\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"color: inherit; background-color: var(--color-6); font-variant-ligatures: inherit; font-variant-caps: inherit;\">Note. These checks and fixes are very important when working with a new dataset. This sort of data inspection is very typical.<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><\/p>\n<p style=\"cursor: auto; color: inherit;\"><\/p>\n<p style=\"cursor: auto; color: inherit;\">1. What is the Chi-squared overall model test when only including the main effects in the model? (Answer as X.XX)<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin-bottom: 0.5em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<fieldset style=\"cursor: auto; color: inherit;\">\n<legend style=\"cursor: auto; color: inherit;\"><span style=\"background-color: var(--color-6); color: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-size: 19px;\">2. What is the Chi-squared overall model test when including the main effects and interaction in the model? (Answer as X.XX)<\/span><br \/><\/legend>\n<\/fieldset>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"font-size: 19px; cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"margin-left: 0.9em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-top: 0.5em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-bottom: 0.5em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<fieldset style=\"cursor: auto; color: inherit;\">\n<legend style=\"cursor: auto; color: inherit;\"><span style=\"background-color: var(--color-6); color: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-size: 19px;\">3. The model with the interaction term is significantly better than the model containing only the main effects.<\/span><br \/><\/legend>\n<\/fieldset>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"font-size: 19px; cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"margin-left: 0.9em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-top: 0.5em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-bottom: 0.5em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<fieldset style=\"cursor: auto; color: inherit;\">\n<legend style=\"cursor: auto; color: inherit;\"><span style=\"color: inherit; font-size: 19px; background-color: var(--color-6); font-variant-ligatures: inherit; font-variant-caps: inherit;\">true or false<\/span><br \/><\/legend>\n<\/fieldset>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin-bottom: 0.9em; font-size: 19px; cursor: auto; color: inherit;\"><\/div>\n<p><a style=\"font-size: 19px; cursor: auto;\"><\/a><\/p>\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"margin-left: 0.9em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-top: 0.5em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"line-height: 1.47; cursor: auto; color: inherit;\">\n<p style=\"cursor: auto; color: inherit;\"><b>4.&nbsp;<\/b><span style=\"font-size: 19px;\">Assess the collinearity of the predictors in model 1 (only main effects in the model). What is the variance inflation factor (VIF) for sex? (Answer as X.XX)<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"font-size: 19px; margin-bottom: 0.5em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<fieldset style=\"font-size: 19px; cursor: auto; color: inherit;\">\n<legend style=\"cursor: auto; color: inherit;\"><span style=\"color: inherit; font-size: 19px; background-color: var(--color-6); font-variant-ligatures: inherit; font-variant-caps: inherit;\">5. Use model 1. What are the odds that someone with cholesterol equal to zero and being male will have heart disease? (Answer as X.XX)<\/span><br \/><\/legend>\n<\/fieldset>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"font-size: 19px; cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"margin-left: 0.9em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-top: 0.5em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-bottom: 0.5em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<fieldset style=\"cursor: auto; color: inherit;\">\n<legend style=\"cursor: auto; color: inherit;\"><\/legend>\n<\/fieldset>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"padding-bottom: 8px; font-size: 19px; cursor: auto; color: inherit;\">&nbsp;6.&nbsp;<span style=\"background-color: var(--color-6); color: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit;\">Use model 1. What are the odds that someone with cholesterol equal to zero and being female will have heart disease? (Answer as X.XX)<\/span><\/div>\n<div style=\"font-size: 19px; cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"margin-left: 0.9em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-top: 0.5em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-bottom: 0.5em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<fieldset style=\"cursor: auto; color: inherit;\">\n<legend style=\"cursor: auto; color: inherit;\"><\/legend>\n<\/fieldset>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"padding-bottom: 8px; font-size: 19px; cursor: auto; color: inherit;\">&nbsp;7.&nbsp;<span style=\"background-color: var(--color-6); color: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit;\">Use model 1. What is the probability that a female with cholesterol of 200 will have heart disease? (Answer as X.XXX)<\/span><\/div>\n<div style=\"font-size: 19px; cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"margin-left: 0.9em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-top: 0.5em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-bottom: 0.5em; cursor: auto; color: inherit;\"><\/div>\n<\/div>\n<fieldset style=\"cursor: auto; color: inherit;\">\n<legend style=\"cursor: auto; color: inherit;\"><span style=\"cursor: auto; color: inherit;\">Options de la question 7 :<\/span><\/legend>\n<div style=\"padding-top: 0.3em; cursor: auto; color: inherit;\">\n<table style=\"cursor: auto; color: inherit;\">\n<tbody style=\"cursor: auto; color: inherit;\">\n<tr style=\"cursor: auto; color: inherit;\">\n<td style=\"padding: 3px; cursor: auto; color: inherit;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/fieldset>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin-bottom: 0.9em; font-size: 19px; cursor: auto; color: inherit;\"><\/div>\n<p><a style=\"font-size: 19px; cursor: auto;\"><\/a><\/p>\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"padding: 0em; cursor: auto; color: inherit;\">\n<div style=\"margin-left: 0.9em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"margin-top: 0.5em; margin-bottom: 0.5em; cursor: auto; color: inherit;\">\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"cursor: auto; color: inherit;\">\n<div style=\"line-height: 1.47; cursor: auto; color: inherit;\">\n<p style=\"cursor: auto; color: inherit;\"><b>8.&nbsp;<\/b><span style=\"font-size: 19px;\">Use Model 1. What is the probability that a male with cholesterol of 400 will have heart disease? (Answer as X.XXX)<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; DATA AND VIDEO TO WALK YOU THROUGH WILL BE ATTACHED BELOW Here is data about heart disease. You will use it to predict who gets heart disease based on their sex and cholesterol numbers. The problem with this dataset is that sex and the presence\/absence of heart disease are not labeled. You need to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"disciplines":[8],"paper_types":[],"tagged":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions\/15046"}],"collection":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions"}],"about":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/types\/questions"}],"author":[{"embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/comments?post=15046"}],"version-history":[{"count":0,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions\/15046\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/media?parent=15046"}],"wp:term":[{"taxonomy":"disciplines","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/disciplines?post=15046"},{"taxonomy":"paper_types","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/paper_types?post=15046"},{"taxonomy":"tagged","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/tagged?post=15046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}