instruction stringlengths 9 38.7k |
|---|
Unlike linear regression that only fit if the dataset vizualisation looks like linear line.
So what I mean with universal regression is regardless dataset visualization will be linear, polynomial, or exponential, the universal regression will auto detect it.
For example, if the dataset vizualisation looks like quadrati... |
I want to compare two situations.
Consider an experiment with two settings with treatment, one in which I block subjects by factor $A$ and the other one in which I do not block. I would be interested in estimating treatment effect. Under blocking(mixed effect model), the estimated treatment will normally have smaller ... |
I was hoping someone could help me verify my understanding about solving for a system of equations iteratively.
I have a square symmetric, positive-definite matrix $A$ and a vector $b$ and I want to try and find the $x$ that minimizes this equation.
The system is small enough that I can solve directly (but this will n... |
I have a dataset with $10^3$ to $10^4$ observations, where each observation consists of a single (scalar) response variable $y$ and $N \approx 10^2$ explanatory variables $X_1, ..., X_n$. All the explanatory variables are categorical (say belonging to categories "A", "B", or "C"), so I represent each one of them with a... |
Given that $(X,Y)\sim N(0,0,\sigma_1^2,\sigma_2^2,\rho)$, I want to calculate $Var(X(X+Y))$. Here's what I've done so far:
$Var(X^2+XY)=E(X^2(Y+X)^2)-(E(X(Y+X))^2$
$=Cov(X^2,(X+Y)^2)+(Var(X)+(E(X))^2)(Var(X+Y)+(E(X+Y))^2)-[Cov(X,X+Y)+E(X)E(X+Y)]^2$
in which $Var(X),E(X)$ already known. $E(X+Y)$,$Var(X+Y),Cov(X,Y)$ are ... |
I have a set of digital audio assets which have been tagged by two separate parties, using two separate tag taxonomies - say Taxonomy A and Taxonomy B. I am looking into the feasibility of using these two datasets to predict what a new asset’s tags would be in Taxonomy B given its tags in Taxonomy A.
I’ve been doing a ... |
I am trying to build a lmer model of my study comparing performance accuracies of bilinguals and monolinguals on a memory task. My dependent variable is the accuracy of correct trials and independent ones are language group, number of trials, as well as age and gender. I do not know if age and gender should be random o... |
It is clear that in the case of neural-networks-based models, we rely on continuity assumption of the underlying function $f$ that we are trying to approximate with our network given the universal approximation t. What I'm wondering about is, for other ML algorithms (e.g. Random Forest), do we still rely on the assumpt... |
I am using a commonly used, validated scale on positive and negative affect. If I want to look at the effect of the negative items in isolation, does the subscale I make of the negative items need to be validated again? If so, how do I do this please? I can only find information on full scale development and validation... |
The Wilcoxon signed rank test is a nonparametric version of the t-test. That is, it converts parametric values, which may be non-normally distributed into EDIT for Glen_B more normally distributed signed ranks; e.g., from Harrell and Slaughter "Biostatistics for Biomedical Research" (BBR) 7.2 We look up |z| against the... |
The models are trained using the same dataset.
I know these criterions can be use to do model selection for nested features. Suppose model 1 has feature A,B,C, model 2 has feature B,C,D, I can use these criterion for model comparison. But what if I have models of A, B, C, can I use BIC to compare to model with features... |
I am currently examining measurement invariance in lavaan. I create my unconstrained model. Then I apply constrains to loadings and loadings+intercepts. I use the WLSMV estimator. The following pattern in the results is replicated with the DWLS estimator without mean and variance adjusted. (ordered=TRUE argument in one... |
These predictors are highly correlated.
In another (significant) model, when the predictors are ran separately, one of them accounted for higher unique variance (around 40%) than the variance accounted for when they were entered together (around 10%). I am also wondering why that is?
|
If we have $k$ categories of a categorical variable, why do we need $k-1$ dummy variables?
For example, if there are 8 categories, why don't we code them as
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1?
Only 3 dummy variables would be needed as opposed to the commonly used $8-1 = 7$ dummy variables.
|
I'm conducting exploratory factor analysis using factanal() function in R.
fit.efa <- factanal(~ x1 + x2 + x3 + x4,
factors = 2, data = df,
cor = F,
na.action = na.omit)
print(fit.efa, digits=2, cutoff=.3, sort=T)
However, when applying factanal() function, I got th... |
In probability theory, I now understand that 'two events are independent' does not mean that 'two events are exclusive' and vice versa.
Now I wonder if the former means the latter is not true, or the latter means the former is not true.
|
TLDR: Use Chebshev inequality to derive MLE parameter expressions in case where distribution is unknown, but first and second-order moments are. Is it possible?
Let $X=f(\theta ; x )$ be a stochastic random process that is function of the deterministic parameter $\theta$, while $x$ is the stochastic variable. We don't ... |
I just learned that for $X_1, \ldots X_n \sim N(\mu, \sigma^2)$ i.i.d, the sample variance $\frac{1}{n-1} \sum_{i=1}^n (X_i - \bar X)^2$ is unbiased, and it is in fact UMVUE.
However, it is not admissible, since $\frac{1}{n+1} \sum_{i=1}^n (X_i - \bar X)^2$ minimizes the squared error risk.
So why is it that we use $\f... |
For a supervised machine learning application where the input features can be readily calculated and the corresponding labels are the result of a somewhat time-consuming simulation using the inputs, it is advantageous to "craft" the best dataset with the fewest data. We have several ideas to this end, a few are:
Use u... |
Suppose we have $10$ observations and we run $20$ trials. A two-sided binomial test with $H_0:p=0.4$ from R I get is
binom.test(x=10, n = 20, p = 0.4, alternative = c("two.sided"))
Exact binomial test
data: 10 and 20
number of successes = 10, number of trials = 20, p-value = 0.3703
alternative hypothesis: true probab... |
I want to explain my second-semester psychology students why we have sample-SNRs (Signal to Noise Ratios) all over the place (t, z, F, Chi²). They are also called statistical test values. But we have nothing like that for the binomial test. At least not an exact one. We only have z as an approximation.
My students are ... |
I performed monte carlo simulation for various sample sizes with exponential distribution.
I set "allowed deviation from population mean" as $5\%$. I iterated $1E5$ times for each sample size. I performed for various rate (or mu) parameters and observed the table below:
Independent of the rate (or mu) parameter value,
... |
I have problems understanding data augmentation. I currently have low-dimension features, each data point only has 3 features. A total of 20k non-linear data with only 3 features. I have generated about 120 additional features from statistical values (e.g. mean, var, std). Is generating statistical values called data a... |
I have conducted a controlled experiment with the goal to determine whether an educational intervention improves the students' performance and self-assessment of their skills. Students from the same course performed a pre-test that on the one hand produces a score and their own assessment of their skills (in a category... |
My dataset is currently longitudinal (i.e. each day for each city represents a data observation) but I will reshape it so that each of the 15 days that the model is going to use will be covariates/independent variables. Hence each row represents a trainable observation encoding the last 15 days of data up to that day.
... |
I'm training a classifier with a binary target variable.
My data is unbalanced. The problem is that the training data (split into train, val, and test sets) is more balanced than the real data (the data in production). there are some reasons for that:
I manually added more positive observations to the train set, so th... |
Im am running a fishers exact test on some data but im unsure of how the input contingency table should be formatted.
Option 1
1 2 3 4 5 6 7
1 0 5 0 18 1 0 7
2 5 2 0 15 1 0 9
3 0 0 0 2 0 0 1
4 18 15 2 46 25 0 27
5 1 1 0 25 10 0 7
6 0 0 0 0 0 0 0
7 7 9 1 27 7 0 12
or Option 2
1 2 3 ... |
I'm trying to see if a new variable adding in a prediction model is better than the old model.
Therefore I've made 3 cox regression models, based on backwards stepwise regression.
So I got models:
Variables X,Y
Variables Q,Z
Variables X,Y,Q,Z
To compare the additive value of Q and Z on top of X and Y, I had a look at... |
As a non-statistician, I am interested in understanding whether model evaluation should be conducted with the measured values on the x-axis and modelled (or predicted) values on the y-axis, or vice versa.
For context, I am teaching a university course on environmental modelling. One of the practicals utilises measured ... |
I'm getting a warning message (Warning: no valid starting value for precision parameter found, using 1 instead) while fitting a beta regression model using betareg::betareg. What does it mean? Is that something of concern? My response variable is positive, continuous with values between 0 & 1. Thanks for any assistance... |
Assume that we have a dataset that is structured in the following manner:
Features are numeric and target is a class from $0$ to $11$. The objective is to assign each row to one of the available classes, predicting for a new unseen group.
What differentiates this case from standard multi-class classification is that t... |
Let's say I fit the following two models in R:
mod.a = glm(log(mpg) ~ log(wt), data = mtcars, family = gaussian)
mod.b = glm(mpg ~ wt, data = mtcars, family = Gamma)
and I want to compare these two models in terms of AIC. I know the response has different distributions for the two models, hence in order to compare... |
The rules I can use without a proof are the following ones:
The thing that I know that a kernel is valid if it is symmetric, e.g. ${f(x,y) = f(y,x)}$ and if ${c^TKc >= 0}$, for each vector ${c \neq 0}$, but I don't know how to prove it, and don't know how to get the matrix K (if this is the correct way to solve this e... |
I want to be able to predict the optical density of a radiograph (x-ray image) based on the input factors of depth, SID, KVP, MAS. I'm a lot more familiar with linear models and have never had to give a model an equation before, and frankly, I have no idea what the equation should be.
I've used the equation below and t... |
I have 12 curves (three replicates for each treatment), see attached picture. X=days; Y=percentage.
The experiment has 2 variables: A: 4 cases; B: 3 cases.
I would like to know, if there is a method to ascertain, if there is statistical significance between these curves.
Is interpolation always necessary in such cases?... |
I am trying to compute a generalized linear mixed model whith my data. My response variable is the presence/ausence of copulation call in each copulation. I have 400 copulations produced by 30 different females and each one contributes disproportionally to the data, so I was controlling female ID as random effect. My p... |
In some domains we have negative/positive class well defined (assigned).
In general binary classification problem we can assign class labels in two ways.
When we have model trained for the original label assignment (its ROC), what can we infer about ROC (AUC especially) for model trained for inverted class assignment (... |
A model (model X) is being trained with a set of features. One of the features (say, feature A) is not available on test data. But it can be accurately estimated using another model (model Y) using some of the information present on the model dataset, and other features that were deemed not useful.
Should model X be tr... |
First of all, I guess I should start my question exposing what is the data about and how it looks right now, I have the following pd.Series object. They are basically the daily conversion of a few days before and after the insertion of a new service inside a bot.
conversions_pre_flux = pd.Series({datetime.date(2022, 10... |
I have fitted a confirmatory bifactor model in lavaan. I then use the omegafromSEM function in the 'psych' package to read the lavaan object and get the omega coefficients. However, the omegafromSem function confuses a group factor with the g factor. The results looks like this:
Any ideas for correcting this?
Thank yo... |
I have fitted the mixture of Gaussians to the natural log of the data. I know that the model is not a very good fit to the data in the tail region, however in the high density region the actual data seems to follow Lognormal.
What is the best way to check whether the model is a good fit in the high density regions?
|
I have received the review for my latest journal article in which I present an experimental study with human subjects. In this study, we have loaded our subjects with impact loads created by a pendulum. The study's objective was to calculate biomechanical limits from the experimental impact data that can be used for sa... |
Suppose there are $P$ cities around a central city, we their daily temperature readings for $N$ consecutive days; how could we find the set of $p \ll P$ cities that give us the smallest MSE with the temperature readings of the center city; that is, the temperature readings of this set of $p$ cities are jointly most pre... |
I am using the survival package in R to run cox proportional hazards models. My question is about the plot.zph function.
This code
plot(zph[1], lwd = 2) +
abline(0, 0, col = 1, lty = 3, lwd = 2) +
abline(
h = cox.ph.mod$coef[1],
col = 3,
lwd = 2,
lty = 2
)
produces this plot:
My question is just a... |
Which likelihood do I use to assess model-data-fit for latent space models like e.g. hidden markov models (HMM)?
Let $X$ be the data, $\theta$ the model parameters and $Z$ be the latent variables. My intuition is to look at:
$$p(X|\theta)=\int p(X|Z,\theta)p(Z|\theta)dZ$$
or $\log p(X|\theta)$. For example compute, $p(... |
I am creating a clustering analysis with both Continuous and Binary variables and am wondering
What type of model is best for these cases
How should I scale my data. Should I only scale Continuous variables and keep binary as 0/1? If this is the case, should I then use a MinMaxScaler so that all my continuous variabl... |
I have a scenario where the multiple linear mixed model is outputting a significant main effect of my task variable (which is a factor with 2 levels). However, the visual graph does not suggest a main effect of task. The main effect has a p value of .0000008 but the difference between the two slopes looks very small.
C... |
I have conducted a linear mixed effect model with the nlme package in R.
lmm.reg.slope <- lme(V1~ V2+V3+V4+V5+V6+V7+V8+V9+V10, data = data,
random = V2+V3+V4+V5+V6+V7+V8+V9+V10|regions, method = 'ML',
control = lmeControl(opt = "optim", msMaxIter=1000,
maxIter = 1000, msMaxEval = 1000))
When I look at t... |
I am performing a probit regression where the latent variable y* is conceptually important. I already have the model defined with regressors: categorical variables, quadratic terms, continuous variables and other integer variables. Now, I am in the post evaluation stage of the model, the average prediction performance ... |
I have created the following pipeline:
ridge = Pipeline([('scale', StandardScaler()), ('estimator', LinearSVR(random_state=7, dual=False, loss='squared_epsilon_insensitive'))])
Then I performed a grid search as follows:
gcv = GridSearchCV(ridge, params, scoring=inner_metric, cv=3, n_jobs=2, return_train_score=True, re... |
The dataset we are using consists of ~3000 images split at 60/40 partition for training/testing. We have used sklearn's GridSearchCV and RandomSearchCV, Bayesian Optimization, and a Hyperband implementation for hyperparameter tuning. After all these methods, we have been getting around 96% accuracy on training and aro... |
I'm working on a matched cohorts difference-in-differences healthcare study with the following causal diagram:
where $X$ is the binary (Yes/No) nurse intervention identifying the treatment and control cohorts, $Y_1$ is pre-period outcome, $Y_2$ is post-period outcome (both measuring # inpatient visits), and $\Delta Y$... |
To test for causality with time series I need a time series with a parallel trend to my treatment group.
Is dynamic time warping an appropriate measure to identify a potential control or is there another more appropriate method?
|
My first model:
Residual standard error: 6010 on 1324 degrees of freedom
Multiple R-squared: 0.7561, Adjusted R-squared: 0.7537
F-statistic: 315.7 on 13 and 1324 DF, p-value: < 2.2e-16
My second model:
Residual standard error: 6014 on 1328 degrees of freedom
Multiple R-squared: 0.7551, Adjusted R-squared: ... |
Imagine you have performance scores for each player on a soccer team using some sort of ranking system. You then group these player scores into the teams they play for, then average the player scores to calculate a "team performance" score (assuming here that better players mean a better team).
If you plot the individu... |
What is the calculation to determine the computer memory necessary to estimate a fixed effects logit model? Will this calculation vary across statistical software? For example, let's say I want to estimate a model with 180 fixed effects in addition to three independent variables for a dataset with 2 million observation... |
I am having some difficulty identifying the appropriate GLM family for my proportional data in a mixed model. My response data is inherently proportional (0,1) but also includes values of 1.
My proposed model:
prop.surv1 <- glmmTMB(worker.prop ~ Source.pop + (1 | Colony_ID) + (1 | Col_Season),
wei... |
Given several lists:
List 1
List 2
List 3
Shirt
Delivery
Outcome
Ladder
Outcome
Football
Football
Football
Teacher
Teacher
Teacher
Operation
Airport
Apple
Engineering
I am looking to:
Detect that Football, Teacher, and Outcome are in several lists
Detect the Football/Teacher and the Outcome/Footbal... |
I am trying to fit a ridge regression model on a dataset, I want to find the best alpha that minimizes the error. I am using RidgeCV, however what would be the optimal range of alpha values to test.
|
In a 50 card deck where 4 copies of a card are allowed at maximum,there are around 2 million possible starting hands.
My question is: If I take a random sample of the 300-350 and analyze it. Can I draw conclusions about the 2 million starting hands?
For example: If in my sample the 20% of starting hands have 2 copies o... |
I'm currently studying zero-modified exponential distributions and working with neither continuous nor discrete distributions, specifically the following general case:
$$ F_{p,m}(x) = \begin{cases}
0, & \text{$x$<0}; \\
1-p+p(1-e^{-x/m}), & \text{$x$>0}
\end{cases} $$
Then what is the mean and variance of rv $x_{p,m}$?... |
My problem is kind of a business case. I doing an analysis for an expiration plan. The current plan is 3 months, and the statistics are not so good. The conversion rate is on the decline, say 2%/month. I want to find out what happens if we are to change it to 4 months or 6 months,... which is better.
This sounds like a... |
I have DataFrame in Python Pandas like below with ID and Target variable (for machine learning model).
My DataFrame is really large and unbalanced.
I need to make sampling on my DataFrame because it is really large
Balancing the DataFrame looks like this:
99.60% - 0
0.40 % - 1
ID
TARGET
111
1
222
1
333
0... |
I have a glmer with a binomial response variable and two binary predictor variables, where there are no observations for one of the four groups. I used emmeans to calculate confidence intervals, and for this group obviously the mean and variance are zero. The model predicts a CI from 0 to 1, and my question is whether ... |
I am trying to assess for differences between groups where a participant may appear in one or multiple groups.
The aim is to assess if an outcome is worse in people with an abdominal injury, limb or thoracic injury. However, participants may have a limb and a thoracic, or a abdominal and a limb etc. I have thought abou... |
I have a high-dimensional dataset (150 variables) with many observations (500k). I would like to get an intuition whether covariate shift is present over time.
I divided the dataset into two sets (early and late period). Just to get a rough first idea whether dataset shift is present, I used the maximum-mean-discrepanc... |
I am estimating a system of equations with correlated error terms. The model includes three equations. The dependent variables are counts of positive answers on strategies adopted by the household to smooth consumption. The dependent variables have different scales. The first strategy is from 0 to 6, the second from 0 ... |
As neural networks are a set of linear operators, using categorical variables with an arbitrary assignment of order where there is no justification (e.g., Doctor:1, Teacher:2) will teach the model to treat higher values as more important.
However is this true if you add a non-linear activation function between layers--... |
I'm very confused right now. I'm studing the ordered logit and ordered probit regression and I just read that logit is not a linear model but it is logistic model but I also read that both ordered logit and ordered probit are family with Generalized Linear Models. But if logit or ordered logit is not a linear model how... |
I am doing an assignment that tests whether acceptance and commitment therapy is beneficial for social anxiety disorder.
With an experimental and controlled group.
I just need to know what test I would use out of t-test, ANOVA’s or chi-squared.
And the details of which one applies.
I’m thinking would be a one-tailed pa... |
I am wondering whether a grouping variable, which is nested within a fixed effect, should be included as a random effect in a linear mixed effects model.
I will exemplify this with simulated data in R. Say we have a fixed effect x that is an integer, ranging from 4 to 14. We have an outcome variable y that has a weak p... |
Context: A machine learning model will be trained using multiple datasets, and the aim is to see if any dataset is better (more balanced, more representative etc) for training. Further context thanks to @dipetkov's suggestion: we have a costly training process. We are trying to understand if further or mixed training d... |
Let's say I have two variables of any distribution for which the population average and variance is assumed/known/fixed for some topic (common in psychology). Using this I can calculate z-scores for both variables and easily compare them.
But is it possible to perform any inference on such transformed data? Their popul... |
I have this df object (9x19),
clusters pearson..s pearson..c pearson..a spearman..s spearman..c spearman..a cosine..s cosine..c cosine..a Z0e..s Z0e..c Z0e..a Z1e..s Z1e..c Z1e..a Z2e..s Z2e..c Z2e..a
2 0.5220314 0.9619119 0.8902166 0.9619119 0.8566094 0.8566094 0.9619119 0.92... |
If I have two variables, $Q$ and $P$ where the value of $\Delta Q\Delta P$ for a distribution $f(Q,P)$ is known. Suppose I now want to consider two new variables, which are a rotation of the original two variables if we consider them to be axes on a plot,
$$Q'=Cos(\theta)Q+Sin(\theta)P,P'=-Sin(\theta)Q+Cos(\theta)P$$
a... |
I am just looking for a scientific source, either a paper or book, that I can refer to when talking about the fact that the ability to represent data in vectors is a desired property.
Reasons can include that most statistical learning algorithms, outside of representation learning, rely on linear algebra. Further, soft... |
I want to check if one of the columns in my dataframe "Activity_Sleep" is normally distributed. According to the histogram it normally distributed:
Minutes_active <- hist(activity_sleep$sedentary_minutes,
border="light blue",
col="blue",
las=1,
breaks=5)
The Shapiro test however, gives the f... |
Basic generalized mixed effects
I am simulating data from a generalized mixed effects model
$$
P(y_{it}=1\mid x_{it})=h(\delta_0+\alpha_i+\beta_t+\gamma x_{it})
$$
where the dependent variable is binary, $y_{it}\in\{0,1\}$, and where the inverse link function is logistic, $h(z)=\frac{1}{1+e^{-z}}$. I set $\alpha_1=\bet... |
From Wikipedia,
$ \sum_1^k{Z_i^2}$ is Chi-squared distributed($Z_i$ is a standard normal random variable)
Also, it is followed by that Pearson's cumulative test statistic $ \sum_1^n{(O_i-E_i)^2 \over E_i}$ approaches to Chi-squared distribution.
($O_{i}$ = the number of observations of type $i$, $E_{i}$ = the expected ... |
I am trying to fine-tune Donut model on ~100 (training) labelled data samples (pairs of images and json files). (Donut is a transformer-based encoder-decoder model, the encoder encodes images and the decoder takes the input of the encoder and the textual tokens to predict next textual tokens.)
Will the classical image ... |
I am simulating data from a basic mixed effects model
$$
y_{it}=\alpha_i+\beta_t+\gamma x_{it}+\varepsilon_{it}.
$$
I then estimate a corresponding fixed effects model on the simulated data. I get good estimates for individual fixed effects but poor estimates for time fixed effects. Why could that be?
(Actually, the es... |
The help file of the `synth' package in Stata states that they average the value of each matching variables across the whole pre-treatment period. Why not match on the value of X in each pre-treatment period?
|
I am struggling to choose the right model. In the data, 30 people answered 10 questions with either "Yes" or "No". The participants are seperated in two groups (Sizes: 13 and 17 per group). Also, there is a continious variable age. Some answers are missing. The question is, if there is a significant difference between ... |
So I have the following pandas crosstab table
a = np.array([[1844, 119],
[4139, 367]])
As you can see the amount of user who are in the "não repescado" category. Surpass, considerably the amount of users in the "repescado" category. In this case, should I aim to make the amount of samples of each side equiva... |
If I found X number of E events given Y unique samples of a known sample space S, where:
Y is much smaller than is smaller than S
E is a binary event
Can I say that event X has a probability and provide a confidence interval for that estimated probability?
For example, given a sample space of 10^4 black and white mar... |
With a normal distribution, I'm familiar with +/- 1, 2, and 3 standard deviations:
+/-
1: 68%
2: 95.45%
3: 99.73%
What are the probabilities for +/- 4, 5, 6, 7, 8, 9, or even 10 standard deviations away from the mean?
|
I am asked to make predictions for the exact final result of some football matches. To be clear, I do not have to place any bets on them, just guessing the final score.
To do that I was thinking about an approach that assumes that bookies know best and leverages that information. For example, I can check the odds for t... |
If relationships between two or more variables are found by Support Vector Machines, Random Forests, Decision Trees, and/or Extreme Learning Machines, could a simple Pearson's Correlation also detect correlations between those variables?
If yes, why? If not, why not?
I'd be thankful if you had a source I could quote fo... |
I have a set of data parameterized by a single variable which is nearly perfectly linear, and I am trying to quantitatively determine with what confidence we can say a theoretical quadratic term is zero. So far I have done this simply by fitting the data twice, once with a purely linear fit, and once also including a q... |
Suppose, a sample of $Y=(1/\sqrt{N}) ∑_{i=1,\dotsc,N} X_i$, where $X\sim \mathcal{Uniform Distribution}(-3, 3)$. We have let's say 10,000 such samples of Y.
Here, when we increase the value of N, why does the value of entropy of $Y$ increase? Is it because there are more elements of uncertainty in the value of $Y$? Wha... |
I am running a two-way repeated measures ANOVA (main effects: Time, Condition). The result is that the main effect of time is significant (P<0.05), the main effect of condition is not significant (P>0.05), and the interaction effect (time*condition) is significant (P<0.05).
Considering there is a significant interactio... |
I am analyzing a randomized dataset (group A,B and C) containing multiple continuous values for each ID gathered over several days (t={0,1,2,3 and 4}) using a frequentist mixed linear model with each ID as a random-effect.
Now, my co-investigators are insisting on a table providing confidence intervals and p-values for... |
Suppose I have a random sample of 5 hospitals where I take one measurement of some variable from each hospital. I can then calculate the standard error of mean as $\frac{s}{\sqrt{5}}$.
However, if my sample is hierarchical, e.g. if the value for each hospital is represented not by one measurement, but by a mean of 10 s... |
I have a population binary data (2000 entries) as (pop_df):
ID Var1 Var2 Var3 Var4 ......Var100 Outcome
1 0 0 0 1 ...... 1 0
2 1 1 0 1 ...... 0 1
3 0 1 0 1 ...... 1 1
...
2000 0 0 0 1 ...... 1 1
and I have taken 500 samples from them (s... |
What is the meaning of p < 0.05 and p>0.05? How does it effect our choice of hypothesis?
I am new to R world. This p-valve outcome during performing t-tests.. What does it really mean?
|
I'm pretty new to Bayesian inference and machine learning, so I think I'm just lacking the right words to search for a paper that addresses this topic, so here goes:
I'm trying to do image segmentation using a CNN. However, I have some prior knowledge about the likely class for each pixel. So for a given image X that I... |
I have daily measurements of a variable X in my timeseries. I was using two observations (D and D-1) to make forecast of a single day ahead (D+1). After plotting ACF, i got the following:
We can see that would be better to use D-7 and D-14, wich have higher correlation than D and D-1 (wich make sense to me. For examp... |
I created an array of test data as a linear combination of a known
random value and an unknown random value.
Y <- (Known*P) + (Unknown*(1-P))
I then made a linear regression model of Y against the Known values
and extracted the $R^2$ value.
model <- lm (Y ~ Known)
measured.Rsquared <- summary(model)$r.squared
A plot... |
Let $X = A \sin(\phi)$ where $A \sim \mathcal{N}(\mu, \sigma^2)$ and $\phi$ is a uniform random variable defined over $[0,2\pi]$. Assume these two random variables are independent. What is the PDF of $X$?
According to [1], the PDF is given by:
$$f(x) = \int_x^\infty \frac{e^{-\frac{1}{2}\left(\frac{A-\mu}{\sigma}\right... |
If $Bias(\hat{\beta}) = (\beta - \mathbb{E}[\hat{\beta}])$, is there a term to describe the quantity $\frac{\mathbb{E}[\hat{\beta}]}{\beta}$?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.