How can I make a restriction for a parameter in my GLM Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Finding the limiting distributionDetermining and excluding the outliers of a datasetCan't figure out the correct degrees of freedom for my goodness of fitConfidence interval on the standard error of a fit parameterInconsistent interpretations for the second parameter of the Gamma distributionWhich general linear model should I use for my dataWeighted Least Squares - Categorical Data vs. Numerical DataCumulative Weibull distribution with 4 parametersFitting a cubic spline model with two knots in $R$On monotonic quadratic least squares
Why is the change of basis formula counter-intuitive? [See details]
Resize vertical bars (absolute-value symbols)
Printing attributes of selection in ArcPy?
GDP with Intermediate Production
Mounting TV on a weird wall that has some material between the drywall and stud
What is the origin of 落第?
Sally's older brother
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
Project Euler #1 in C++
Is there hard evidence that the grant peer review system performs significantly better than random?
Is there public access to the Meteor Crater in Arizona?
Special flights
How can a team of shapeshifters communicate?
Monty Hall Problem-Probability Paradox
Tannaka duality for semisimple groups
What is the "studentd" process?
What does 丫 mean? 丫是什么意思?
Random body shuffle every night—can we still function?
Would color changing eyes affect vision?
Can an iPhone 7 be made to function as a NFC Tag?
Why are vacuum tubes still used in amateur radios?
Putting class ranking in CV, but against dept guidelines
Trying to understand entropy as a novice in thermodynamics
Can two people see the same photon?
How can I make a restriction for a parameter in my GLM
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Finding the limiting distributionDetermining and excluding the outliers of a datasetCan't figure out the correct degrees of freedom for my goodness of fitConfidence interval on the standard error of a fit parameterInconsistent interpretations for the second parameter of the Gamma distributionWhich general linear model should I use for my dataWeighted Least Squares - Categorical Data vs. Numerical DataCumulative Weibull distribution with 4 parametersFitting a cubic spline model with two knots in $R$On monotonic quadratic least squares
$begingroup$
I'm trying to fit a GLM to some data. I wanna make a restriction for my parameters. I have 2 different restictions
- $beta_1,1=0$
- $sum_i^nbeta_i=0$
How can I tell R to do this. My GLM is $$glm(goalssim Team+Oppo+Home-1,family = poisson(),data=season1617)$$
thanks
statistics
$endgroup$
add a comment |
$begingroup$
I'm trying to fit a GLM to some data. I wanna make a restriction for my parameters. I have 2 different restictions
- $beta_1,1=0$
- $sum_i^nbeta_i=0$
How can I tell R to do this. My GLM is $$glm(goalssim Team+Oppo+Home-1,family = poisson(),data=season1617)$$
thanks
statistics
$endgroup$
$begingroup$
If $beta_1$ is the term next to $goalsTeam$, then simply remove that column from the data...
$endgroup$
– 5xum
Apr 2 at 9:38
$begingroup$
I have edited my question. I want the first coefficent to be 0. The first team in the data is Arsenal, so i want TeamArsenal=0
$endgroup$
– Esteban Cambiasso
Apr 2 at 9:55
1
$begingroup$
If you are looking for a computational solution maybe you could try asking at stats.stackexchange.com or stackoverflow.com
$endgroup$
– RScrlli
Apr 2 at 10:12
add a comment |
$begingroup$
I'm trying to fit a GLM to some data. I wanna make a restriction for my parameters. I have 2 different restictions
- $beta_1,1=0$
- $sum_i^nbeta_i=0$
How can I tell R to do this. My GLM is $$glm(goalssim Team+Oppo+Home-1,family = poisson(),data=season1617)$$
thanks
statistics
$endgroup$
I'm trying to fit a GLM to some data. I wanna make a restriction for my parameters. I have 2 different restictions
- $beta_1,1=0$
- $sum_i^nbeta_i=0$
How can I tell R to do this. My GLM is $$glm(goalssim Team+Oppo+Home-1,family = poisson(),data=season1617)$$
thanks
statistics
statistics
edited Apr 2 at 9:51
Esteban Cambiasso
asked Apr 2 at 9:35
Esteban CambiassoEsteban Cambiasso
153
153
$begingroup$
If $beta_1$ is the term next to $goalsTeam$, then simply remove that column from the data...
$endgroup$
– 5xum
Apr 2 at 9:38
$begingroup$
I have edited my question. I want the first coefficent to be 0. The first team in the data is Arsenal, so i want TeamArsenal=0
$endgroup$
– Esteban Cambiasso
Apr 2 at 9:55
1
$begingroup$
If you are looking for a computational solution maybe you could try asking at stats.stackexchange.com or stackoverflow.com
$endgroup$
– RScrlli
Apr 2 at 10:12
add a comment |
$begingroup$
If $beta_1$ is the term next to $goalsTeam$, then simply remove that column from the data...
$endgroup$
– 5xum
Apr 2 at 9:38
$begingroup$
I have edited my question. I want the first coefficent to be 0. The first team in the data is Arsenal, so i want TeamArsenal=0
$endgroup$
– Esteban Cambiasso
Apr 2 at 9:55
1
$begingroup$
If you are looking for a computational solution maybe you could try asking at stats.stackexchange.com or stackoverflow.com
$endgroup$
– RScrlli
Apr 2 at 10:12
$begingroup$
If $beta_1$ is the term next to $goalsTeam$, then simply remove that column from the data...
$endgroup$
– 5xum
Apr 2 at 9:38
$begingroup$
If $beta_1$ is the term next to $goalsTeam$, then simply remove that column from the data...
$endgroup$
– 5xum
Apr 2 at 9:38
$begingroup$
I have edited my question. I want the first coefficent to be 0. The first team in the data is Arsenal, so i want TeamArsenal=0
$endgroup$
– Esteban Cambiasso
Apr 2 at 9:55
$begingroup$
I have edited my question. I want the first coefficent to be 0. The first team in the data is Arsenal, so i want TeamArsenal=0
$endgroup$
– Esteban Cambiasso
Apr 2 at 9:55
1
1
$begingroup$
If you are looking for a computational solution maybe you could try asking at stats.stackexchange.com or stackoverflow.com
$endgroup$
– RScrlli
Apr 2 at 10:12
$begingroup$
If you are looking for a computational solution maybe you could try asking at stats.stackexchange.com or stackoverflow.com
$endgroup$
– RScrlli
Apr 2 at 10:12
add a comment |
0
active
oldest
votes
Your Answer
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3171661%2fhow-can-i-make-a-restriction-for-a-parameter-in-my-glm%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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3171661%2fhow-can-i-make-a-restriction-for-a-parameter-in-my-glm%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$begingroup$
If $beta_1$ is the term next to $goalsTeam$, then simply remove that column from the data...
$endgroup$
– 5xum
Apr 2 at 9:38
$begingroup$
I have edited my question. I want the first coefficent to be 0. The first team in the data is Arsenal, so i want TeamArsenal=0
$endgroup$
– Esteban Cambiasso
Apr 2 at 9:55
1
$begingroup$
If you are looking for a computational solution maybe you could try asking at stats.stackexchange.com or stackoverflow.com
$endgroup$
– RScrlli
Apr 2 at 10:12