Questions tagged [statistics]
Statistics is the mathematical study of using probability to infer characteristics of a population from a limited number of samples or observations. Non-programming statistics questions are off-topic here, and they should be posted at https://stats.stackexchange.com instead.
statistics
16,447
questions
0
votes
0
answers
12
views
Effects Contrast Matrix for Interaction with Multiple Grand Means
I want to include an interaction between two factors: area and house_type, in my GAM (MGCV), I hope to make a sum-to-zero contrast encoding.
But, I do not want each combination of the factors to be ...
-3
votes
0
answers
35
views
Survival analysis - estimating life expectancy
I am exploring survival analysis and my aim is to find a model that predicts life expectancy (in years) instead of hazard ratios based on several lifestyle variables. I have a lot of dietary variables ...
0
votes
0
answers
28
views
Degrees of Freedom in Emmeans
I am using the 'emmeans' package in R to compute estimated marginal means for my (liner mixed-effects) model. However, I am enountering a warning message related to the number of observations ...
0
votes
0
answers
26
views
Is there a way to modelize a partial predictor in a classification problem with an unbalanced target?
I would like to share with you a classification issue I faced during the modelling process. I have to create a model for an unbalanced binary target by 4 predictors where one of them has 45% of wrong ...
0
votes
0
answers
12
views
Can I include a variable related to the outcome variable into statistical analysis?
My research question is about intra-individual variation, meaning how the variaion in the personal level is associated with other variables. The study population reported their behaviour for three ...
0
votes
0
answers
14
views
I try to understand F ditribution and relations to chi square and variances
Hello to everyone out there, I am trying to understand why F distribution and how it's related to chi-square. Why there are two formulas (with chi-square values devided by their corresponsing degrees ...
-1
votes
0
answers
20
views
function for customizing woocommerce statistics
I'm trying to customize the statistics tab of Woocommerce, in the "promo code" submenu of statistics it displays the codes used, the number of orders concerned and the amount of discounts ...
0
votes
0
answers
52
views
Non nested loop to find mode in Java
I got an assignment that my professor has given me the code but I have to fill the answers in the assigned line to complete the code
I got with the fixed array in my problem
but when I rearrange ...
0
votes
0
answers
30
views
Correlation alternatives / How to go about testing this relationship? [migrated]
I have a large set of temperature data from upstream and downstream gauges. I am trying to find the influence of dam release on downstream temperatures. To do this, I am comparing correlation between ...
0
votes
0
answers
19
views
Determining the p-value of a test statistic, which is not distributed according to a commonly known distribution under the null hypothesis [migrated]
Currently I am working in R on a project that aims to identify Dragon King events (massive outliers) in large datasets. These outliers appear for example in the city sizes in England, where London is ...
0
votes
0
answers
16
views
Difference between least square regression line and population regression line
What is difference between least square regression line and population regression line ? For example, what is difference between predicted values b0 and b1 vs actual values B0 and B1 ? Does actual ...
0
votes
0
answers
18
views
How to carry out Dunnett's post hoc correction on a 2-way ANOVA in R?
How can I perform Dunnett's post hoc correction after a 2-way ANOVA in R?
The Dunnett's test compares every mean to a control mean. Using ToothGrowth dataset as an example, lets just say that that ...
0
votes
0
answers
9
views
How to prove that the dependent variable is explained by the two independent variables (which are correlated)? [migrated]
I would like to show that the dependent variable Y is mainly explained by the two independent variables (A1 and A2). Theoretically, an increase in A1 increases Y, and an increase in A2 decreases Y. ...
0
votes
0
answers
37
views
r - Post-hoc tests for repeated measures ANOVA with aligned rank transformed(ART) data
I'm working on a 2x3 factorial design with two within-subject variables and I'd like to test for both main and interaction effects. Since the data is not normally distributed, I've performed an ...
0
votes
0
answers
10
views
Model comparison or beta coefficient of full model? [migrated]
my question is a rather theoretical one. I have to decide in advance how I want to analyze my data (I'm going with the lme4 package in R) and feel torn between doing a model comparison by creating two ...