Predicting maximum yield using R linear regression output












0












$begingroup$


I have a question in a paper that involves calculating the maximum yield based on a linear model in which yield is explained by the amount of something being transported plus the number of days it is being transported for (plus an intercept). The thing is being transported for at least 3 days and not more than 10, and the amount is a fixed value.



There is a negative coefficient for days and a positive one for amount. Both are significant in the presence of each other (as well as the intercept).



The R output is provided, so it includes the estimate of coefficient, the standard error, the T value and the Pr(>|t|) value.



How do you approach this? My initial thought was that, given that there is a negative coefficient for days, that it would be the maximum at 3 days - as each day passes the yield would decrease. But then I had second thoughts about this. Should I be taking the standard error into account? If so, how? Would prediction/confidence intervals be possible? I don't think so because I don't know the value of $n$, but someone else might know better!










share|cite|improve this question











$endgroup$












  • $begingroup$
    You want to use the output to decide if the coefficients are significant. Although the coefficient is negative it could be that it is not significantly different from zero. (Look at the t-value).
    $endgroup$
    – user121049
    Jan 19 at 19:30










  • $begingroup$
    Can you copy-paste the output?
    $endgroup$
    – V. Vancak
    Jan 20 at 5:54










  • $begingroup$
    The T values all say that the coefficients and the intercept are highly significant (99.9%).
    $endgroup$
    – Maths Barry
    Jan 20 at 8:31
















0












$begingroup$


I have a question in a paper that involves calculating the maximum yield based on a linear model in which yield is explained by the amount of something being transported plus the number of days it is being transported for (plus an intercept). The thing is being transported for at least 3 days and not more than 10, and the amount is a fixed value.



There is a negative coefficient for days and a positive one for amount. Both are significant in the presence of each other (as well as the intercept).



The R output is provided, so it includes the estimate of coefficient, the standard error, the T value and the Pr(>|t|) value.



How do you approach this? My initial thought was that, given that there is a negative coefficient for days, that it would be the maximum at 3 days - as each day passes the yield would decrease. But then I had second thoughts about this. Should I be taking the standard error into account? If so, how? Would prediction/confidence intervals be possible? I don't think so because I don't know the value of $n$, but someone else might know better!










share|cite|improve this question











$endgroup$












  • $begingroup$
    You want to use the output to decide if the coefficients are significant. Although the coefficient is negative it could be that it is not significantly different from zero. (Look at the t-value).
    $endgroup$
    – user121049
    Jan 19 at 19:30










  • $begingroup$
    Can you copy-paste the output?
    $endgroup$
    – V. Vancak
    Jan 20 at 5:54










  • $begingroup$
    The T values all say that the coefficients and the intercept are highly significant (99.9%).
    $endgroup$
    – Maths Barry
    Jan 20 at 8:31














0












0








0





$begingroup$


I have a question in a paper that involves calculating the maximum yield based on a linear model in which yield is explained by the amount of something being transported plus the number of days it is being transported for (plus an intercept). The thing is being transported for at least 3 days and not more than 10, and the amount is a fixed value.



There is a negative coefficient for days and a positive one for amount. Both are significant in the presence of each other (as well as the intercept).



The R output is provided, so it includes the estimate of coefficient, the standard error, the T value and the Pr(>|t|) value.



How do you approach this? My initial thought was that, given that there is a negative coefficient for days, that it would be the maximum at 3 days - as each day passes the yield would decrease. But then I had second thoughts about this. Should I be taking the standard error into account? If so, how? Would prediction/confidence intervals be possible? I don't think so because I don't know the value of $n$, but someone else might know better!










share|cite|improve this question











$endgroup$




I have a question in a paper that involves calculating the maximum yield based on a linear model in which yield is explained by the amount of something being transported plus the number of days it is being transported for (plus an intercept). The thing is being transported for at least 3 days and not more than 10, and the amount is a fixed value.



There is a negative coefficient for days and a positive one for amount. Both are significant in the presence of each other (as well as the intercept).



The R output is provided, so it includes the estimate of coefficient, the standard error, the T value and the Pr(>|t|) value.



How do you approach this? My initial thought was that, given that there is a negative coefficient for days, that it would be the maximum at 3 days - as each day passes the yield would decrease. But then I had second thoughts about this. Should I be taking the standard error into account? If so, how? Would prediction/confidence intervals be possible? I don't think so because I don't know the value of $n$, but someone else might know better!







statistics regression confidence-interval






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 20 at 22:16







Maths Barry

















asked Jan 19 at 18:32









Maths BarryMaths Barry

438




438












  • $begingroup$
    You want to use the output to decide if the coefficients are significant. Although the coefficient is negative it could be that it is not significantly different from zero. (Look at the t-value).
    $endgroup$
    – user121049
    Jan 19 at 19:30










  • $begingroup$
    Can you copy-paste the output?
    $endgroup$
    – V. Vancak
    Jan 20 at 5:54










  • $begingroup$
    The T values all say that the coefficients and the intercept are highly significant (99.9%).
    $endgroup$
    – Maths Barry
    Jan 20 at 8:31


















  • $begingroup$
    You want to use the output to decide if the coefficients are significant. Although the coefficient is negative it could be that it is not significantly different from zero. (Look at the t-value).
    $endgroup$
    – user121049
    Jan 19 at 19:30










  • $begingroup$
    Can you copy-paste the output?
    $endgroup$
    – V. Vancak
    Jan 20 at 5:54










  • $begingroup$
    The T values all say that the coefficients and the intercept are highly significant (99.9%).
    $endgroup$
    – Maths Barry
    Jan 20 at 8:31
















$begingroup$
You want to use the output to decide if the coefficients are significant. Although the coefficient is negative it could be that it is not significantly different from zero. (Look at the t-value).
$endgroup$
– user121049
Jan 19 at 19:30




$begingroup$
You want to use the output to decide if the coefficients are significant. Although the coefficient is negative it could be that it is not significantly different from zero. (Look at the t-value).
$endgroup$
– user121049
Jan 19 at 19:30












$begingroup$
Can you copy-paste the output?
$endgroup$
– V. Vancak
Jan 20 at 5:54




$begingroup$
Can you copy-paste the output?
$endgroup$
– V. Vancak
Jan 20 at 5:54












$begingroup$
The T values all say that the coefficients and the intercept are highly significant (99.9%).
$endgroup$
– Maths Barry
Jan 20 at 8:31




$begingroup$
The T values all say that the coefficients and the intercept are highly significant (99.9%).
$endgroup$
– Maths Barry
Jan 20 at 8:31










0






active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3079670%2fpredicting-maximum-yield-using-r-linear-regression-output%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3079670%2fpredicting-maximum-yield-using-r-linear-regression-output%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Mario Kart Wii

The Binding of Isaac: Rebirth/Afterbirth

What does “Dominus providebit” mean?