instruction stringlengths 9 38.7k |
|---|
I would like to use multiple imputation algorithm with a Generalized Least Square with Kenward-Roger or Satterthwaite degrees of freedom. Does the commonly implemented Rubin's method account for those complicated methods of calculating degrees of freedom? Can you provide any reference?
|
Suppose I have a standard distribution dataset X with a mean 0 and std 1.
Now I want to create slight variations of this data by injecting some noise.
I could make a randomly generated noise E by sampling from normal distribution with a smaller std, let's say 0.1 then sum them together.
Y = X + E
While this does introd... |
I am going through Causal Inference In Statistics by Pearl and I have come across the definition of path and directed path (section 1.4, page 25).
Path: A path between two nodes $X$ and $Y$ is a sequence of nodes
beginning with $X$ and ending with $Y$, in which each node is
connected to the next by an edge.
Directed p... |
By substituting the optimal value function into the Bellman equation, we get the Bellman equation for $v_{\star}$
$$ v_{\star}(s) = \sum\limits_a \pi_{\star}(a|s) \sum\limits_{s'} \sum_r p(s', r | s, a)[r + \gamma v_{\star}(s')]$$
From the above equation, how can we obtain the this one?:
$$ v_{\star}(s) = \max\limits_a... |
I use a LOESS regression and draw a confidence boundary with a 99% level.
# R code
library(ggplot2)
ggplot(mtcars) +
aes(x = mpg, y = disp) +
geom_point() +
geom_smooth(level = 0.99, method = "loess")
Why are there way fewer than 99% points in the confidence boundary? (7 points out of 32 are outside the co... |
I know how to train a simple competitive network. Let's say I have three inputs $x_1, x_2, x_3$ and learning coefficient $\eta=0.5.$ Let's say I have two neurons $w_1, w_2$. For each input I will compute $\Vert x_i-w_j\Vert^2$ and the smallest distance will define the winner neuron. Then I will update the weight of th... |
Problem definition
Consider the following sphere surface belonging into the 3D space $\mathbb{R}^3$
\begin{equation*}
\left(\frac{\xi}{R}\right)^2+\left(\frac{\eta}{R}\right)^2+\left(\frac{\zeta}{R}\right)^2=1
\end{equation*}
where the radius $R$ is an unknown parameter. Suppose to be able to observe $N$ points $\{y_i\... |
Currently, I am building my analytics portfolio as part of the Google Data Analytics course. I chose the option to analyze Divvy Bike Sharing data for the year 2021. But now I'm currently stuck in the part where I need to identify outliers in the dataset. I'm focusing on the 'ride_length' column which shows the duratio... |
I'm looking at the implementation of the tweedie.profile function from the R package tweedie. I have a few questions.
When trying to find the best power parameter $p$, by using the function tweedie.profile for example,
tweedie.profile(y ~ .,
method = 'series',
phi.method = 'mle'
... |
Warning
I have divided the question into two subquestions: the first concerns the conditional distribution, which I discuss here; the second part is found in this question.
Exercise
Let $X \thicksim Pa(\lambda, \theta)$ with density function
$
f(x; \theta, \lambda) = \frac{\lambda \theta^{\lambda}}{x^{\lambda+1}}
$
whe... |
I know there are related questions already asked, for example this one.
I also know the following:
KL divergence $D_{KL}(P\Vert Q)$ is given as:
$$\begin{align}
D_{KL}(P\Vert Q) & = -\sum_xP(x)\log\left(\frac{Q(x)}{P(x)}\right) \\
& = \sum_xP(x)\log\left(\frac{P(x)}{Q(x)}\right) \\
& = \sum_xP(x)\log(P(x))-\sum_xP(x)... |
1. Background
Crossing problem in quantile regression can be observed when we want to estimate several conditional quantiles (e.g. τ = 0.1, 0.2, . . . , 0.9), as two or more estimated
conditional quantile functions could cross or overlap. However, a higher percentile must have more points below it than a lower percenti... |
My response variable has large magnitudes. The mean is 30000ish in the unit of dollars. Then I can only get the RMSE to ~3 which does not feel too bad to me given the magnitude of the response variable. However I read that RMSE > 1 is considered bad. I should also add that my $R^2$ is extremely good.
|
I am from CS background and as part of my PhD, I am doing a project where I need to used causal inference to construct a causal DAG (directed acyclic graph) from a multivariate time series data. As I am new to causal inference, I am not understanding whether it is possible to get a causal DAG from a time series data li... |
Why do we sometimes transform the dependent variable in a regression analysis as a growth rate?
$$\frac{Y_{it+1}-Y_{it}}{Y_{it}} = X'_i \beta + \epsilon_i$$
instead of:
$$Y_i = X'_i \beta + \epsilon_i$$
Could you tell me when we should use the growth rate and why?
|
What is the distribution of $(X_1, ..., X_n)^T \sim \mathcal{N}(\mu, \Sigma)$ given that $X_1 = ... = X_n$?
|
A common thing that's stated in the phylogenetic comparative analysis literature is that phylogenetic signal is detected in the residuals of a regression, not in the traits/variables themselves. But how is phylogenetic signal in the residuals detected if it is already controlled for by the method of analysis (e.g. PGLS... |
Call:
lm(formula = formal_engaged_replaced ~ setting_interest + setting_trust +
setting_contact + setting_confidence + setting_visibility +
network_close_network + network_help_neighbour + network_help_orgs +
personal_sex + poverty_replaced + personal_education, data = train_model)
Residuals:
Min ... |
I have a dataset of different individuals who underwent 2 test that measure the same outcome with 3 possible results
not reduced
mildly reduced
highly reduced
I know that the distribution of the results of each test is different (highly significant).
What do you think is the best way to analyze and visualize the rela... |
I want to run an ANOVA identifying what features they've used in the last 7 days (based on predefined list) and based on the 10 features listed as using, ask them their satisfaction rating. I plan to do 4 subgroups looking at 2 age groups and by 2 locations .
So some participants will be in more multiple groups based o... |
Context: While designing an experiment, there is interest from leadership in pairing control and test units together such that every (test, control) pair are as categorically similar as possible.
Typically in an experiment, we would have a test group and control group, and compare the difference of their means.
However... |
I am trying to understand the sandwich variance estimator. Mainly my confusion is why it is OK to use estimated parameters. I think it boils down to this question. If $f(X_i; \theta),i=1,\ldots,n$ are IID, where the $X_i$ are IID random, $f$ is a known function, and $\theta$ is a parameter, then a consistent estimator ... |
How do I calculate $p$ for a trend in R? My predictor variable is an ordered categorical variable with 4 categories and my outcome is dichotomous. (I am also using survey data so I want to use the weights, and survey design).
Model:
mod <- svyglm(outcome ~ predictor + cov1 + cov2, design = svydsgn, family = quasipoisso... |
Sorry if the title is confusing. I essentially want to know if it's appropriate to use a p-value as the decision threshold (of the null outcome) when calculating AUC-ROC. I have a dataset of outcome values & a p-value associated with each one (generated via models that I've fit previously). I'm wondering if it makes se... |
I am running a regression of Y on X (both are continuous variables). I'd like to measure how the effect differs between two groups of individuals, coded by a dummy variable Z. The traditional way of doing it is, I believe, to run:
Y ~ X*Z + X + Z
However, I get much different results when I use an indicator function,... |
I understand following
when we say probability we mean probability that a random variable $X$ will have certain value $x_i$ given the parameter $\theta$ that defines underlying probability distribution, that is $P(X=x_i|\theta)$.
when we say likelihood, we mean probability that the parameter $\theta$ will lead to giv... |
I am currently reading the BERT paper and it splits the use of pre-trained models into two categories:
Feature-based whereby you just take the embeddings for the tokens and plug it into whatever problem you want
Fine-tuning where you add a couple of task-specific layers at the end of the pretrained model and then just... |
What is the probability from a uniform probability measure (pg.37) on sample space $\left\{N(\theta,1)|\theta\in[0,1]\right\}$ that for some random variable $X$ in the sample space, the Expected-Value of $X$ is undefined or infinite?
How do we show this?
|
I'm currently working on the same set of independent variables to explain FDI across different time series data; hence, I'll like to know if there is a statistical tool that tells which of the model best explains FDI.
|
I need to calculate the centile curve for y using a GAMLSS model with age and height as predictors.
The plots below depict the relationship between log(y) and each of the independent variables.
I incorporated log of age and log of height into the model to make the relationship between these variables more linear. The... |
I'm following this collection of papers regarding ridge regression, https://arxiv.org/pdf/1509.09169.pdf , and I ran into this section on the mentioning of generalizing ridge regression.
And when they get to finding the moments of $\hat{\beta}$ they express it in the following format.
I've seen several ways to obtain... |
Variables measured on an ordinal scale have an order but the distance between levels has not to be 'equal'. In case distances would be equal, does this imply the variable is measured on an interval scale?
|
I am training an XGBoosting model where the hyperparameter I got from RandomizedsearchCV and the best one was:
{'n_estimators': 800,
'min_samples_split': 1500,
'min_samples_leaf': 500,
'max_features': 'sqrt',
'max_depth': 17,
'learning_rate': 0.1}
With this model I have an ER of 0.28
However when i use predict_pr... |
Suppose panel data where multiple observations are made of units over time. Regressing a dependent variable measured at each time point on lag of the dependent variable and a unit-specific intercept (a "random effect") - perhaps with an overall intercept for the grand mean - leads to inconsistency and bias of the estim... |
Over the past year, I have tried to record my productivity in the following way:
The first yellow mark is the time I "clock in", or start working for the day. For the five minutes of work produced during that time (8:00 am to 8:05 am), I record that as the minutes of actual work accomplished. The second yellow marker ... |
I have an undergrad degree in Economics and Management but my academic training/background in econometrics is insufficient, although I did study micro/macro economics and fundamental math and statistics for economics. I still struggle with advance math and statistics topics and do not have sufficient background in econ... |
In ISLR 2nd edition, it says that you may not want to scale before PCA if the features are all in the same units (below). However, I don't see the nuance. Why not just have the "default" step to scale everything to SD = 1, mean = 0, even if everything is the same units and will ultimately have no effect?
Is it because ... |
thanks in advance for your advice.
I'm trying to determine whether certain product feature improvements increased the number of monthly active users (active is defined as whether the user made a purchase in the last 30 days). We have the ability to A/B test but I'm getting stuck because this MAU metric is a moving wind... |
E
I have a time-to-event scenario where I want to look at Covid19 patients.
I want to analyse how long it takes before they are extubated (taken off ventilator) in two different treatment groups. Being extubated is a positive event.
The problem is if they die before they are extubated it is no longer possible to be ext... |
Out of pure boredom during the corona period back in 2020 I 'invented' a drinking game which seemed to have a fair outcome, but I am not sure. We were sitting on the couch and after a lot of beer, and some games of Perudo (which is played with a lot of dice) I came up with the following game.
There are 24 dice on the ... |
I've been looking at order statistics and the behavior of expectations when max is involved, but that literature always discussed iid random variables whereas I have a strange situation where I have only one random variable that's being scaled and exponentiated by deterministic quantities so it's not clear to me if tha... |
I compare the rcs() function of the rms package with the ns() function of the spline package with the following code. The final plot reveals that the for the rcs() function the 95% CI is zero at the reference value of age = 45 and that the 95% CI is much wider for the rcs() function. I did not expect such huge differen... |
my study design is as follows: Mice received a cranial trauma and post trauma were administered either active agent (experimental group) or placebo (control group). There were xxx separate groups that were euthanized at different time points:
Day 1 Group (tested pre-trauma and at day 1)
Day 3 Group (tested pre-trauma a... |
The weak likelihood principle (WLP) has been summarized as: If a sufficient statistic computed on two different samples has the same value on each sample, then the two samples contain the same inferentially useful information. The WLP is usually described as a "widely accepted" or "very reasonable" statement, but not a... |
I am currently writing a paper for school and currently have 3 sections of questionnaire questions based on the Likert scale, where each section has 4 questions that I need to group together. Further, I need to use ordinal logistic regression and using averaged Likert scale as the dependent variable and treatment (fact... |
I am currently writing a paper. And I am not sure if I can use latent variable defined through CFA, as a dependent variable in ANOVA. Thank you for help!
|
I'm trying to estimate the entropy rate of a text file (about 2 million characters, including spacing and punctuation). Calculating the entropy rate directly is not an option for me, for lack of computational power. Therefore, knowing that the entropy rate is a lower bound for the length of a lossless compressed sequen... |
Causal Inference In Statistics by Pearl, section 3.5, page 70 clearly mentions that -
This effect, written $P(Y=y|do(X=x),Z=z)$, measures the distribution
of $Y$ in a subset of the population for which $Z$ achieves the value
$z$ after the intervention.
In that context Rule 2 says -
$P(Y=y|do(X=x),Z=z)$ $= \sum_s {P(... |
I am looking at the association between feature [ vividness, content specificity, and content narrative] - to three variables on the levels of Depression ( 4 levels - normal, mild, severe, and very severe). What sort of test do I run here? Multiple regression? Multivariate Regression a MANOVA.
|
The frequency of 8 cell types is measured in 100 patients (the frequencies do not sum up to 1). The patients form 4 pathologies established by the physicians. As there might be better markers (cell types) to specify the classes and pathology is not always clear, there exists patients in-between classes. We wish to clas... |
In the XGBoost Documentation they specify the Gain term as:
\begin{equation}
Gain=\frac{1}{2} \left[ \frac{G_L^2}{H_L+\lambda} + \frac{G_R^2}{H_R+\lambda}- \frac{(G_L+G_R)^2}{H_L+H_R+\lambda}\right]-\gamma
\end{equation}
Loss function is:
When choosing leaf split, split that maximises Gain can not be the same as split... |
Let $X_t$ be a strongly stationary time series. Is the first-order difference process $\nabla X_t$ always stationary?
|
The concept of Fisher information is new to me and as I understand the diagonal elements of the Fisher information matrix (FIM) are proportional to mean square error (to be precise the inverse of FIM). What is the interpretation of the off-diagonal elements of FIM and can these be negative?
|
I thought the the following code in R should run equivalent t-tests. But the p-value obtained from each method differs. The p-value using lm() is 3.415937e-05 but using t.test() it is 0.0001098368.
Why are p-values different?
summary(lm(mpg ~ vs, mtcars))$coefficients -> coefs
as.vector(coefs)[8] -> lm_pvalue
t.test(... |
I have three physical variables say x, y and z. The magnitude of y is dependent on x (directly proportional), and y is dependent on z (inversely proportional). x and z don't have any relationship (z is a measurement point).
For example (some of my data)
I am interested in producing a model that describes their relatio... |
I did a bayesian two way hypothesis test using pymc3 - the variable "do you like chemical free products - yes/no" vs "will you buy this soap or not". The goal was to understand if those who like chemical free products are more likely to buy it or not? The code is below and I am not able to interpret results show in tab... |
I would like to make an adjustment on a baseline variable (which has a small imbalance).This is a post hoc adjustment (I recognize, however, the limits of this adjustment which has not been pre-specified). It is a randomized clinical trial. I am wondering if analysis of variance is more appropriate here than linear reg... |
I'm trying to find out
if the metaphor and political affiliation influences the response category, and
if the vignette length influences the reported reliability
I used this code:
fit <- brm(
formula = response_category ~ metaphor * affiliation + (1 | submission_id),
data = dat,
family=cumulative("logit")
)
... |
Suppose $X_1,X_2,\cdots,X_n$ are iid copies of a standard cauchy variate with pdf
$$ f(x)=\frac{1}{\pi(1+x^2)},0<x< \infty. $$
Define:
$$ Y=1+ \underset{1 \leq i \leq n}\max X_i.$$ I want to find the cdf of $Y.$
My attempt:- First we try to find the cdf of $Z=\underset{1 \leq i \leq n}{\max} X_i$ as follows;
if the cdf... |
I have a large dataset with multiple binary dependent variables (e.g. y1, y2, y3, y4). yi variables are people's response to their decision making behaviour in different situations. There are many explanatory variables (e.g. x1, x2, ...) which are mainly sociodemographic variables.
I can model each y based on the expla... |
I've become a bit confused by texts and answers that seem to contradict each other but I think I am just not understanding it quite right.
For an ARMA(p,q) process
$$
X_{t} = Z_{t} + \phi(1)X_{t-1} + \dots \phi(p) X_{t-p} + \theta(1)Z_{t-1} + \dots \theta(q)Z_{t-q}
$$
I have seen the condition for stationarity being t... |
A person on Cross Validated states that the coefficients of the general linear model follows the following distribution
$$\pmb{\hat{\beta}} \sim N(\pmb{\beta}, (\mathbf{X}^T\mathbf{X})^{-1}\sigma^2)$$
Does this still hold for logistic regression?
Same question for probit regression.
|
Warning
The question is the sequel to this question and it was divided into three parts.
The first is this, while the second part is found here.
Exercise
Let $X \thicksim Pa(\lambda, \theta$) with density function
$
f(x; \theta, \lambda) = \frac{\lambda \theta^{\lambda}}{x^{\lambda+1}}
$
where $x \geq \theta$, $\lambda... |
I managed to convert my data i circular/polar data (angle, r). Now I would like to compare two treatments to see if they are statistically different. I thought to use the Watson's U2 test but apparently it is only valid when the sample size is bigger than 17 (mine is n=12 per treatment). I read somewhere that we could ... |
Given a bivariate time series $(X_{1t}, X_{2t})$ with $X_{it}\sim N(0,1)$, I want to know if there is a way of testing if the bivariate distribution does not change over time. This is, if $F_{12}(x_1,x_2|\theta_t)$ is the bivariate distribution of the random vector, I want to test for $\theta_t = \theta$ for all $t$. F... |
I tried to create a logistic regression model and then plot it, the first try didn't really work out and I got something like this:
However then I realized that my data is imbalanced (around 85% are 1s a the rest are 0s), so I changed my model to have a weighted logistic regression in Python using sklearn:
clf = Logis... |
I'm trying to split my data into a testing and a training set. There are lots of variables that I want to ensure are well represented in both the training and testing sets (say, 15 covariates). But when I go to sample using rsample::initial_split(), it tells me: "Stratifying groups that make up [less than] 10% of the d... |
I have a survey that uses a stratified sampling approach with optimal allocation.
The team conducting the survey has asked that we make two changes:
Subdivide one of the strata into smaller pieces. Each of the new strata are fully contained inside one of the previous strata.
Change the sampling allocation to equal al... |
I have the following hypothetical data on U.S. treasury interest rates and AAA and CCC bond rates for several companies.
The main aim is to find out whether and to what extent U.S. treasury rates impact the rates of AAA and CCC bonds. I know these questions may sound a bit too broad but I am a bit unsure where to sta... |
In my textbook, it says that P(Type I Error) = α is a non-conservative test and my professor noted that this one is desired over the conservative test with P(Type I Error) ≤ α. Why is that the case? Wouldn't we want the probability that we reject $H_0$ when it is true to be less than the significance level?
Edit: Con... |
I generated myself some data to try some data with 4 levels (health status based on body-mass-index, please don't judge me if the values don't make sense):
library(tidyverse)
library(ZeligChoice)
set.seed(100)
health_excellent <- rnorm(20, mean = 20, sd = 3)
health_good <- rnorm(20, mean = 25, sd = 3)
health_fair <- r... |
My understanding is
Step 1: You would run through the Kalman filter equations
with initial parameter values.
Step 2: After you run through the Kalman filter equations,
you will have innovations obtained with initial parameter values
i.e., $\zeta_{t \mid t-1} = z_{t}-G\omega _{t\mid t-1}-HY_{t}$ for t = 1,.....,T,
where... |
I am fitting linear mixed models in SPSS with 2 categorical fixed factors (bolus type and muscle type) and the participants as random factors. Each participant underwent bolus and muscle conditions. My problem is that i don't quite understand how intra-class correlation (ICC) are computed.
So first of all, only the fol... |
Does the distribution whose support is on the real line with pdf of the form $\exp[- a x^2 (1 + b x + c x^2 + \cdots) ]$ have a name? What is it? Looking for an answer that is not something like 'zero dimensional field theory'.
|
Given a set of approximately 100 equations, one for each sample $i \in [1, 100]$:
$$
s_i = \sum_j c_{ij} p_j
$$
where $s_i$ is the known and positive sum for sample $i$, and $c_{ij}, j \in [1, 1000]$ is the known count of the $j$-th item in the $i$-th sample, how could one go about estimating the unknown positive fact... |
One of the desirable properties of activation functions is to be unbounded above and bounded below. I guess part of the reasons why it should be unbounded above is to avoid vanishing gradient problems and avoid saturation, which could cause a fixed update in the gradient, that could slow down the training.
Could you al... |
I'm learning about unsupervised learning and I tried to use KMeans, AgglomerativeClustering and DBSCAN on the same datase. The result was ok, they seems to work fine according silhouette_score() function in which the best score was 0.1935 from AgglomerativeClustering. It found 2 clusters by the way. The problem is I w... |
I am unfamiliar in statistics. My knowledge is in pure mathematics.
Suppose $n\in\mathbb{N}$, where $X$ is in the $\sigma$-algebra of Caratheodory-measurable sets such that $X\subseteq\mathbb{R}^{n}$ and $f$ is a measurable function where $f:X\to\mathbb{R}$.
Edit: For some measure $\mu$ on measurable space $(X,\Sigma)$... |
I am trying to understand why the fully-symmetric bidirectional case-crossover design is biased when there are time trends in the exposure and why the semi-symmetric design is not biased?
I have tried to read the open access paper by Navidi and Weinhandl: https://t.co/7fSgjBJfN1
Unfortunately I don't really understand ... |
I'm trying to grok how the standard errors for a marginal effect are computed.
I know that if $\eta_i = x^T\beta$, then the square of the standard error of $\eta_i$ is $x^T \Sigma x$, where $\Sigma$ is the covariance matrix obtained from the regression.
Suppose then I want to estimate the marginal effect (on the link s... |
I was previously informed in another thread that my plot on the y-axis is showing odds and not odds ratios. The following example code and figure depict this.
library(survival)
data(cancer, package="survival")
d <- colon[, c("age", "status")]
table(d$status)
dd <- datadist(d); options(datadist='dd')
fit <- lrm(status ... |
I have a hard time figuring out the best way to test/verify a multiple regression. Basically, last semester I had a machine learning class where I was taught to always test models with unseen data. On the other hand, in my stats class, I learned to basically just verify the parameters(p-values, f-test, R, R^2, adjusted... |
Say I have a regression model
$Y = XB + e$
Then if $e$ is Gaussian White Noise with $~N(\mu, \sigma)$
Does that mean Y is also normal?
Just checking my understanding.
|
I have a dataset that contains the "weight", the "gender" and if someone has "asthma" or not.
I am interested in learning about ways to visualize the proportion of people who have asthma in different weight ranges (e.g. what percent of "heavy" people have asthma vs what percent of "non-heavy" people what asthma).
Below... |
Suppose I have a instance of a random $k$-mode tensor $X_{n_1 \times \ldots \times n_k}$ of count data. I would like to perform non-negative canonical polyadic decomposition of this tensor using Bayesian parameters:
$$X_{n_1 \times \ldots \times n_k} \approx \sum_{r=1}^R \mathbf{\lambda}_r \otimes_{j=1}^k \vec{\beta}_{... |
I have this application where I have a direction that I want to keep fixed when I'm running a PCA or factor analysis. Is this possible? I just want to keep a column of the loadings matrix fixed.
How can I do that?
If this is not possible. Can I do any other type of analysis with this direction?
|
I have run a mediation analysis using SEM and have obtained a CFI and TLI of 1 and an RMSEA of 0. Based on these results, it appears that the model is fitting the data perfectly. However, I am aware that having CFI and TLI equal to 1 and RMSEA equal to 0 is an indication that the model may be overfitting the data. I wo... |
I was wondering whether I can apply a Dirichlet regression model to panel data (using either dirifit in Stata or DirichReg in R)? I would do this by adding time averages of the time-invariant variables (Mundlak device) to obtain a Correlated Random Effects model. I have done this before for tobit and probit models, but... |
First I calculated the chi-squared p-value with
data = pd.crosstab(df['variable1'],df['variable2'])
chi2, p, dof, expected = chi2_contingency(data)
print("Chi-squared statistic: ", chi2)
print("p-value: ", p)
Chi-squared statistic: 70.23601804402738;
p-value: 2.893285699471121e-10;
Degree of Freedom: 12
Then I tri... |
Some metrics are sample size-biased, i.e., they will give biased estimates in small sample sizes. Is there a formal proof that AUROC is either sample size-biased or unbiased? I.e., will the expectation over the AUROC computed over test sets of size 100 be the same as the expectation over the AUROC computed over test se... |
Because the discrete formula for RMS, $\displaystyle X_{RMS}=\sqrt{{1 \over N}(x[1]^2+x[2]^2+...+x[N]^2)}$, is almost the same as the formula for standard deviation (assuming mean zero), except for a factor of $\sqrt{\frac{N}{N-1}}$ the RMS and standard deviation are often said to be approximately the same.
See, for ex... |
Warning
The question is the second part of this question. The third and last part is found here.
Exercise
Let $X \thicksim Pa(\lambda,\theta)$ with density function:
$ f(x; \theta, \lambda) = \frac{\lambda \theta^{\lambda}}{x^{\lambda+1}} $
where $x \geq \theta$ and $\theta > 0$.
From the first question I have found th... |
Given that X and Y are independent and normally distributed as N(0,3) and N(0,5) respectively, what is the expected value of (XY)^2?
|
Working in R, I have a dataset with values which I would like to compare to expected values if it was a Poisson distribution. Is there a way to do it?
Example:
n <- c(1,2,3,4,5,6,7,8,9,10)
people <- c(850, 200, 100, 60, 40, 20, 25, 10, 7, 60 )
df <- data.frame(n, people)
In my case, n is number of times event happene... |
I need to answer to the following problem:
In an heteroschedasticity setting, let $n$ be the index of the n-th statistical unit with $n=1, \dots, N$.
Suppose a multiple linear regression setting with K regressors in which for the N units the errors' variance $\sigma^2$ is proportional to the square of the k-th regresso... |
I have come across a question in my notes and I do not understand how to solve it. I have looked at the solutions and I still am unclear!
This is the question:
And this is the solution:
I really don't understand what the question is really asking - would anyone be able to explain to me with an example? I also don't u... |
Warning
The question is the third and last part of this question.
Exercise
Let $X \thicksim Pa(\lambda,\theta)$ with density function:
$ f(x; \theta, \lambda) = \frac{\lambda \theta^{\lambda}}{x^{\lambda+1}} $
where $x \geq \theta$, $\lambda >0$ and $\theta > 0$.
The CDF is $ F(x) = 1 - \left( \frac{\theta}{x} \right)^... |
The robust cross-validation method by Silva and Zanella (2022) looks like a promising piece of a solution to a model averaging problem I am working on. I am trying to understand the method in the manuscript, and I am having trouble deriving the proportionality relation in Equation 8. Is there something I am missing?
Us... |
I'm doing my first formal causal analysis and I'm a bit puzzled by what and how to include it.
I've read a few questions and guides about how to do it but I have no theoretical background (I haven't read manuscripts, but I have been reading books about it such as Causal Inference: The mixtape). Some sources describe th... |
I have a repeated measures design, one continious outcome "E_R", two categorical predictors "S" and "I". In my design, every participant has been exposed to every level of S and every level of I in random orders (so there's no time variable here).
I have my data in long format with 4 collumns e.g.:
ID - "I" - "S" - "E_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.