instruction stringlengths 9 38.7k |
|---|
I'm reading a paper by Judea Pearl titled "Detecting Latent Heterogeneity" from 2015, which can be found at this link: Detecting Latent Heterogeneity
I'm having trouble understanding a derivation in Appendix B of the paper. Here's the excerpt:
\begin{array}{ll}
M: \quad & Y=\beta X+\gamma Z+\delta X Z+\epsilon_1 \\
& X... |
Typically in textbooks, it is assumed that measurement noise $\nu_{t}$ is normally distributed. Suppose that $S_{t}$ is a signal. Then a measurement equation is
$$
S_{t} = x_{t} +\nu_{t} $$
where $$ \nu_{t} \sim WN(0,\sigma_{\nu}^2)$$
However,my signal data has the following structure:
$$
S_{t}= \beta_0+\beta_{x}x_{t}+... |
I am working on a curve fitting problem where I have a series of real data points, and I want to fit a curve to this data. The derivative of the function I am trying to fit has the form:
f'(x) = -sqrt(K1 * x^2 - K2 * x)
Here, (K1) and (K2) are constants that I want to optimize, and (x) is the independent variable which... |
This problem was originally asked in another post as a minimum viable problem, such that all the details were generalized away. Posters on there seemed to want more information, so this is the more detailed post.
Explanation of Problem
The data comes from a large database of 226,838,098 million weibos (Chinese tweets).... |
I did a meta analysis of percentages using metamean in RStudio. Should I have used metaprop instead? For the SD argument in meta mean I used the SD for the binomial distribution.
|
Suppose that two observations $X_1$ and $X_{2}$ are drawn at random from a distribution with the following probability density function
$f_{\theta}(x)=\frac{1}{2\theta}$ if $0 ≤ x ≤ \theta$ or $2\theta ≤ x ≤ 3\theta$, otherwise, $f_{\theta}(x)= 0$ where $\theta > 0$ Determine the maximum likelihood estimator of $\thet... |
So, I know yet another Precision, Recall question which is asked umpteenth times now.
I wanted to ask some specific business related questions.
Imagine if you are building a classifier to predict which patient who are diagnosed with certain disease are most likely to going to become eligible for treatment in next 3 mon... |
Let's say study 1 finds a HR in group X vs control of 1.5. Study 2 finds a HR of 5.4 in group Y vs control.
As I understand it, HRs involve the rate of the event happening. Since we do not know the amount of time that each study used, we could imagine they are different times, and the HRs aren't comparable.
That is, we... |
To estimate the parameters of a truncated distribution (lognormal for example), we can use the Maximum Likelihood Estimation or Method of Moments.
For the Method of Moments Estimation, one needs to write down the mathematical expression of the expected value of the truncated lognormal distribution. Is it possible to do... |
I want to define rare event in competing risk. How many percent of the event must exist to be able to say that the event is rare? It can be said based on the EPV. But if the occurrence of the event is low, with what percentage can we say that the event is rare?
|
I am using a logistic regression classifier and Gridsearch to optimize negative log loss.
After generating its learning curve to test for overfitting/underfitting, my model seems to return this learning curve. Note that my y-axis is log loss, and my x-axis is my iterations.
Is this a sign of good fit? I wasn't sure as ... |
I'm currently implementing Baum-Welch algorithm for Semi-Continuous Hidden Markov Model (SCHMM) as described in Huang, Xuedong. Semi-continuous hidden Markov models for speech recognition, 1989, pages 96-97. In SCHMM one assumes that emission probability given a state follows a mixture of gaussian pdfs that are shared ... |
I am interested in the ratio of random slope variance from a random slope and intercept model. I fit the model using lme4 as
model_slopes <- lme4::lmer(trait ~ covariate + (covariate | individual_ID),
data = example_dataset)
and calculate the ratio as :
$R_S^2$ = ${V_S
\over V_p}$ = ${V_VV... |
I am currently working on an algorithm that aims to reduce dimensions and map data within the non-negative orthant. Subsequently, the mapped data is utilized as input for a classifier. The classifiers I have employed thus far are 'LogisticRegression (LR)' and 'MultinomialNB,' both of which are part of the sci-kit learn... |
I have been using the lowess smoother to calculate trends for time series data for a while now but until now my data was always without gaps.
I now have to work with data where there are quite large gaps in time (~2h for minute sampled data so ~120 missing samples) and by reading the documentation and looking at the ac... |
I recently came across a paper which uses the following formula to empirically estimate the extremal correlation coefficient $\chi_{ij}$ between two variables $x$ and $y$ as follows:
$$ \chi_{xy} = \frac{n}{\sum_i^n \min(\hat F_X(x_i), \hat F_Y(y_i))}, \qquad \text(1)$$ where $x,y\in\mathbb{R}^n$ and $\hat F_X(x)$ is t... |
I'm using Bootstrap for testing the mean by creating samples centered around H0
Private Sub Boostrap()
Dim datanew() As Double
N = UBound(Victor1)
ReDim Preserve datanew(N) As Double
For I = 1 To UBound(Victor1)
datanew(I) = Victor1(I) - xlApp.Average(Victor1) + Val(H0.Text)
N... |
I am working on optimizing a GP-based multi-fidelity surrogate model and I found this publication very helpful: 'A Tutorial on Bayesian Optimization' by Peter I. Frazier (July 10, 2018). and I have some questions regarding the conclusions on Expected Improvement (EI).
In chapter: 4 Acquisition Functions,
These alterna... |
In Introduction to Statistical Learning it is written
The standard least squares coefficient estimates discussed in Chapter 3
are scale equivariant: multiplying $X_j$ by a constant $c$ simply leads to a
scaling of the least squares coefficient estimates by a factor of $1/c$. In other
words, regardless of how the $j$th... |
I am trying to use a repeated measures ANCOVA to look at differences over time between groups in SPSS. I was following this helpful thread (What is the correct way to add and analyse covariates in a 2x3 Mixed ANOVA in SPSS), but the example only uses two timepoints.
Does anyone know how it might be extended to involve ... |
I am new to researching modeling and forecasting using the GARCH model. So I am still confused about the result that I get. I forecast stock return volatility using Eviews. The best ARIMA model in my case is ARIMA(1, 2) based on the highest adjusted R squared value, and the lowest AIC and SIC. Then, I continue to model... |
I am currently facing a problem with my GARCH model, specifically with the forecasted results. It appears that all the forecasted values are turning out to be identical, which leads me to suspect that these results are inaccurate. I would greatly appreciate any suggestions or guidance on how to resolve this issue.
In o... |
I am comparing several combinations of two columns of non-normally distributed paired data:
I used R with the following syntax:
wilcox.test(x, y, paired=T)
I tried to replicate this test in GraphPad Prism using Wilcoxon matched pairs signed rank test with or without the method of Pratt.
The obtained p-values do not ... |
Let $\Theta = \{0,1,\frac{1}{2}\}$, show that for all $m \geq 1$
$S_{m,\Theta} = \ln (3-2^{-m+1})$.
In the previous question was asked to show that when $\Theta = \{1\}$ that for all $m \geq 1$ $S_{m,\Theta} = 1$. I've managed to do that by computing
$S_{m,\Theta} = \ln(\sum_{i=0}^m \Big( \frac{1}{3}\Big)^{i}*\Big(... |
I want to determine how big the time lag is for two time series.
In this example, how long the twitter sentiment about a stock leads the stock price.
I use Python with statsmodels.tsa.stattools grangercausalitytests.
The granger causality matrix provides values:
Granger Causality
number of lags (no zero) 1
ssr based F ... |
I have a question about a linear regression I would like to perform.
In my experiment I have two treatments and a control which have 4 repetitions of 20 genotypes each. I have performed linear regression on this data which worked fine. I wish to perform a linear regression on the differences between the treatments and ... |
I am struggling to determine which test to use to compare the percentage data derived from continuous data. I am studying specific sleep characteristics in the context of depression. I have a population of n = 717 individuals, out of which n = 74 suffer from depression. I would like to compare the percentage of sleep t... |
I have a 1000 sample of an electrical test at each 4 different time, so I do simple descriptive statistic to obtain standard deviation at each 4 different time. Can I then use skewness on standard deviation itself to know if all my standard deviation is symmetrical? From my search, I only see people choose either one a... |
I have followed the tutorial here for Multiclass semantic segmentation using DeepLabV3+.
My question regards a preprocessing function. In the following block, is it not problematic that resizing the mask image can cause change in original values, if the aspect ratio is different from the original?
def read_image(image_... |
I have a dataset with 5 categorical variables that relate to before/after numerical data. I need to plot the relationship between the categorical data and the numerical results. Each category relates to a part of the research in which kind_of_measure is related to how the measure was taken, cause_variation_turb and ass... |
I am trying to write down the log-likelihood for the multivariate skewed student-t distribution, but I don't really get how to define it exactly. Could someone please tell me the definition as in how it is written down? I am using the following univariate skewed student-t (see below). I believe that it follows from: Fe... |
maskgit and diffusion - can you explain the similarities and differences between these two types of models?
|
I'm fitting a Gamma GLM using glmmTMB and noticed that choosing link = "log" or link = "inverse" results in parameter estimates that are significant in opposite directions.
Any idea why this is happening and how to fix? See dput below for data
x = structure(list(var1 = c(0.252214238219584, 0.392393931685829,
0.1447456... |
I have a study like this: We recruits 20 teacher to participate in the research study. We use a step-wedge design where 10 of them are randomly assigned to a group that will receive an app and 10 teachers are randomly assigned to a group that will receive the app after the study is complete . The study lasts 8 months.... |
Based on some preliminary exploration, here are some interesting observations about kurtosis for when you're calculating kurtosis for groups that have fewer than 4 observations. First, here's the relevant R code.
One_Observation_Groups <- list(1, 3, -100, 0, 1000)
sapply(One_Observation_Groups, function (x) {
y <- su... |
I want to compare two 1-factor models: (a) a congeneric model where the loadings are optimally weighted; and (b) a parallel model where the loadings are fixed to 1 (equally weighted).
# (a) congeneric model (optimally weighted)
model_1f_congeneric <- '
total_factor =~ bdi01 + bdi02 + bdi03 + bdi04 + bdi05 +
... |
I have a dataset with around 42000 samples. For each sample I have a continuous variable "abs_error" (coming from a experiment ran before, not relevant here) and the subject's race and sex. I want to test if the error is significantly different for subjects of different races and sex, i.e. compare white males, white fe... |
In algorithms that perform better with data normalization or deep learning problems such as classification, how normalizing data does not bias our algorithm? I mean, in training or even testing, we can normalize data and columns with very big values compared to others, will become like them. But, in prediction for one ... |
I am trying to see if there are differences in how comfortable people are in adopting children at two time points. Their responses are ordinal ex. very likely, somewhat likely, not at all likely etc. Normally I would do chi2 but the data is not independent (how important is this assumption - does it make the chi2 value... |
In Imbens & Wooldridge (2009, p. 19), they define the normalized difference as:
whereas the cobalt's package standardized mean difference uses by default (for the ATE) "the 'pooled' standard deviation (i.e., the square root of the mean of the group variances) in calculating standardized mean differences" (https://ngre... |
I am running a planned missingness design to pilot some items for a questionnaire I am designing. Specifically, I want to test 80 items and every participant (N = 300+) receives a random 10-item subset of the 80 items. This, however, leads to 20-40 data points per item, thus ~90% of missing values.
As I want to evaluat... |
I want to estimate the impact of economic sanctions on GDP and other macroeconomic indicators on Italy in 1935 with DiD. I have observations of GDP of Italy (treated) and of other countries (control) from 1929 to 1938. I created a time dummy equal to 1 if Year $\ge$ 1935 and a treatment dummy that is equal to 1 if the ... |
Background: We are using a research tool that uses computer vision to quantify facial expressions (ie whether someone is smiling) from a webcam. The raw output for this tool is time series data showing the probability someone is smiling at time x.
I want to compare data while people watch two different advertisements, ... |
I'm using a synthetic dataset in which I sample from three independent Bernoulli random variables x1, x2 and x3 with p=p1, p=p2 and p=p3 respectively. I wish to "introduce dependence," or make the variables no longer independent to varying degrees.
I tried to do this by introducing another random variable, x0, such tha... |
I'm looking for info on how to compute both the partial spearman correlations and p-values for complex survey data.
There was a similar question for pearson correlations here: Partial correlation coefficient with complex survey data.
Thomas Lumley had the following answer to that question:
svyvar() will estimate the p... |
I want to train a neural network that is as simple as possible, that is able to classify datasets.
I have 5 MedMNIST datasets that each contain a number of labels, and with complex features.
I'm seeking a simple neural network solution that is able to be able to just identify the source of an image, without the need to... |
I have a data set $\mathbf X$, with around 20 predictors, which is a matrix of parameters of a surrogate model. For each observation $\mathbf i$ of $\mathbf X$, the surrogate model was trained to predict a different simulated response vector $\mathbf y_{sim,i}$ and its parameters were recorded. In every observation, th... |
I am interested in determining the expectation for a person's wordle score. If the person guessed the word every time, this would be straight-forward using simple expected value calculations. However, how would one handle the the fact that sometimes, you need more than $6$ guesses? At the outset, the data we're work... |
Let $\{P_\vartheta \mid \vartheta \in \Theta\}$ be a family of probability measures on $(\mathbb R^n,\mathfrak B_{\mathbb R^n})$, parametrized by the subset $\Theta$ of $\mathbb R^m$.
Consider the following σ-finite measures:
$\lambda$, the Lebesgue measure on $(\mathbb R^n,\mathfrak B_{\mathbb R^n})$;
$\mu_A$, the me... |
This is a question concerning the definition of the p-value in a more general than ordinary case.
Let $X\sim f(x;\theta)$ be a population and $(X_i)_{i=1}^n$ a random sample (i.i.d. $\sim f(\cdot;\theta)$, by definition). Let $(\mathcal X, \mathcal B)$ be the sample space (if $X\sim f(\cdot;\theta)$ takes real values, ... |
There is a dataset consisting of 1100 in vitro fertilization cycles from 800 patients, indicating that some patients have undergone more than two cycles. The dataset contains 1100 rows. Each cycle begins with the measurement of a “hormone” level. Additionally, there is an "ethnicity" variable with three categories: Cau... |
I have a lot of zeros in my samples; I found the following algorithm to deal with zero-inflated data before testing them:
find the proportion of zeros in each subset.
assume that in the subset with the smallest number of zeros all zeros are true.
from each subset, remove the proportion of zeros equal to the proportion... |
This is a different situation from rolling average or time series smoothing.
Say I have 10 samples and four variables (x, y, S, T) associated with each sample.
The results of a function R = y/x^e, i.e. R1 - R10, are correlated with S.
In fact, e is the value of the exponent the maximizes the correlation between R and S... |
I have the following data for three treatments used on a subject. Each subject is observed and given a quality value of 1-5. The numbers in the table represent the number of subjects in each trial group that were given the corresponding quality ranking.
Treatment
1
2
3
4
5
a
1
1
20
0
10
b
0
5
13
3
0
c
1
4
1... |
I'm a master student currently working with taxonomy and cultivation of wild edible mushrooms. In my experiment, I'm evaluating the effect of 4 distinct solid culture media and 4 temperatures on the mycelium growth and the biomass production of different mushroom strains. A separate experiment was done for each strain,... |
I am assessing the effect of 5 predictor variables on species abundance. I have created 12 generalized linear models in R that have the same response and five predictors. Rather than run a complex model with one response, five predictors and a 12 way interaction, I opted to subset the dataset out and run each group sep... |
Say we have a process where not all data is available at the beginning, and we need to estimate mean and standard deviation to normalize them, what would be the update for the tracking variables?
Somehow I feel that the mean we can just track it with a simple average:
$$
\mu_{t+1} = \frac{\mu_t \cdot t + \mu^\text{batc... |
In page C4 of Chernozhukov et al (2018) the authors introduce a debiased ML estimator $\check{\theta}_{0}$ for scalar parameter $\theta_{0}$: $$ Y = D\theta_{0} + g_{0}(X) + U, \quad \mathbb{E}[U|X,D] = 0 $$ $$ D = m_{0}(X) + V, \mathbb{E}[V|X] = 0 $$ $$. \hat{V} = D - \hat{m}_0(X) $$ $$\check{\theta}_{0} = \big(\frac{... |
Suppose I have a stationary time series, if I pool the data together it will look like a Gaussian distribution. However, I don't think it is proper since it might be auto correlated and Gaussian distribution assumes iid.
What's the proper way to represent this series using distribution?
Suppose I do ACF and PACF test ... |
Q) Take $\Omega=[0,1]$, with the $\sigma$-field of Borel sets and $P$ the Lebesgue measure on $[0,1].$Find $E(\xi |\eta)$ for $\xi(x)=2x^2$,
$\eta(x) = \begin{cases} 2, & \mbox{if } x\in[0,\frac{1}{2}), \\ x, & \mbox{if } x\in[\frac{1}{2},1]. \end{cases}$
The definition I'm using is,Let $\xi$ be an integrable random va... |
I'm trying to understand if possible to generate a time series forecasting program that is able to deal with multiple values for each time step. Examples like this tensor flow guide show time series forecasting with a single set of data for each time step but is it possible for the timestep to also have multiple sets o... |
I have two independent random variables $X$ and $Y$, and a constant term $a$. Furthermore, $\mathbb{E}[Y]=0$. I want to show that
$$
\mathbb{E}\Big[\mathbb{E}[X+Y/a|aX+Y]\cdot\mathbb{E}[X|aX+Y]\Big]
=\mathbb{E}[X^2].
$$
I would like to execute the towering property of expectation to evaluate this but it doesn't quite w... |
In Shahar & Shahar (2010), the authors argue that in a typical pre/post observational study on two longitudinal outcomes $Y_0$ and $Y_1$:
the change score $\Delta Y=Y_1-Y_0$ causes the post-period outcome $Y_1$, or
the post-period outcome $Y_1$ causes $\Delta Y$.
Which is true?
If either statement could be true, does... |
Problem
This is more of a theoretical question than a practical one...
Let's say I have three Random Variables: $Y$, $X_1$, and $X_2$. With the following properties:
Cor($Y$,$X_1$) > 0
Cor($Y$,$X_2$) = 0
Cor($X_1$, $X_2$) > 0
You run two regressions:
$$ Y = \alpha * X_1 + \epsilon $$
and:
$$ Y = \beta_1 * X_1 + \beta... |
I would appreciate if someone could introduce me a good reference for power transformations and Box-Cox transformation. I'm elementary in statistics and I want to learn them properly. Thank you very much in advance.
|
I want to recreate/reproduce a demand time series from real demand data given by a car rental fleet operator. Our contract with the operator has ended so we cannot use the real data as it is so I would like to synthesize a new demand time series that has similar characteristics to the real one.
The real demand time ser... |
I am using eviews 13 and I want to run these equations
Co c yd yd(-1)
Co c yd co(-1)
With quantile regression I want to test the residuals for normality and conclude that since it's not normal I should use quantile regression.
My models have structural breaks which I intend to fix with time based dummy variables.
Sh... |
Can you recommend a statistical model for predicting national blood demand?
I am seeking recommendations for a statistical model to predict national blood demand. I am aware that there are several methodologies available for establishing prediction models, including regressions, time-series analysis, and machine learni... |
I have the following dataframe in Python:
import pandas as pd
df = pd.DataFrame({'id': [1,2,3,4,5,6,7,8,9,10],
'group': ['a', 'a', 'a', 'b','b', 'b','b','c','c','c'],
'val':[1,0,1,0,1,1,0,0,1,1]})
print(df)
id group val
0 1 a 1
1 2 a 0
2 3 a 1
3 4 ... |
I was wondering if I could get some help with understanding this problem.
Suppose at each period you receive a random amount of money that follows normal distribution $N(0, 1)$. If the total money you've received is less than zero, you die at some period. I want to get the probability of survival at period $t$.
For two... |
Context: I am working on a predictive model. Let's call it $f$. The outcome that $f$ is trying to predict is binary. It makes predictions as probabilities, i.e. for a given input $x$, $f(x) \in (0,1)$. Its performance seems to be so-so: The AUC is 0.67 and the average precision is 0.73 (compared to 58% positive cases i... |
here is the sample data.
I have spectroscopy data as X-variables (from X1 to X80) and corresponding Y variable.
I need to run plsr model in R using "pls" package. There are two sheets. In one X-variables are raw (without any pre-processing). and in other sheet X-variables are vector-normalized
Here, what I have done.
l... |
I am planning to run an analysis on data where each participant rated (scale 1 to 7) two types of products - three products of type A and three products of type B. I am only interested to know whether on an average, ratings for type A and B differed. I am not interested in product level stats.
To illustrate, the data f... |
I am given two variables $X$, $Y$ of which I expect a linear relationship, so it is reasonable to set up a simple linear model
$$Y = \alpha + \beta X + \epsilon.$$
However, I know that both variables are also time-dependent in an expectedly 'similar' way, with both seasonality and trend. Therefore, I refined the linear... |
I have two models looking like this, where just the fixed effects differ, but the random effects stay the same
# Example one
H2RS <- lmerTest::lmer(BZ ~ 1 + SV + ZP + (1 + SV | VPN), data = dailyfin)
H4RSN <- lmerTest::lmer(BZ ~ 1 + SV + SV_DIFF + ZP + (1 + SV | VPN), data = dailyfin)
I want to know which of these mo... |
I was wondering about the asymptotic efficiency of the Interquartile Range (IQR) in the Gaussian case. I have calculated it empirically using a Monte Carlo estimator, and it appears to be equal to that of the Median Absolute Deviation (MAD) (36.75%).
However, I have not found any literature on this topic. Specifically,... |
I am little stuck here and not sure there is a solution, but asking to see if anyone has any ideas. Here's the situation:
I'm trying to analyse a dataset which is comparing 4 different groups with 3 replicates each (3v3v3v3). Within each replicate there are 20 individuals with no unique ID's (so a total of 60 per group... |
Let's say that you have one case study, where 30 raters are asked to apply a measure that has 5 items. Can you compute a single Krippendorff's Alpha (kalpha) value across all 5 items (that are the same data type but different questions) for the single case study, to measure inter-rater reliability of 30 raters?
|
I am using boot() and boot.ci() to calculate confidence intervals for the difference in the c
-statistic (AUC) between models with and without a novel biomarker. But I don't know how to calculate the p-value.
|
As a form of sensitivity test, I want to compare the results from a regression model where I first conducted matching and the results from the same model without conducting matching prior to that. For the post-matching analysis, I used g-computation (using "avg_comparisons" in R) to get the treatment effect. Does it ma... |
We had a study on the effectiveness of a learning intervention. We collected pre and post test scores and the results showed us that the students' scores got lower in posttest than the pretest. But when we analyzed these results using Wilcoxon signed rank test, it said that there is significant difference between the p... |
Imagine that we have at disposal several batches of data from a given process and that the interval time of record of each batches can be week, months or even years.
Out of these data, we would like to propose a specification to authorities by means of tolerance intervals.
The question is: "Should we look if the batche... |
I am using a control function approach for panel data. I have an endogenous variable in the outcome equation. I take this endogeneity into account by adding the generalised residuals of a selection equation (with this endogenous variable as the dependent variable) to this outcome equation.
My dataset consists of approx... |
I have a dataset with three categorical predictors and four continuous response variables. The response variables are various measurements of the subjects' behaviour and they are fairly highly correlated with one another (R = 0.5-0.7).
I want to see if there is an association between the predictor variables and each of... |
I have a modeling problem that I am trying to formulate in a Bayesian manner to do inference.
Basically, I have a prior where the variance is unknown, and we want to treat it as uncertain (though with a prior), in addition to an unknown variance for the likelihood term. I have now understood that this is then a hierarc... |
I'm trying to train a multivariate Gaussian Process model using the code here https://github.com/Magica-Chen/gptp_multi_output. However I noticed how problematic is to initialise the length scales of the covSEard kernel, since it seems that the optimization is always different.
Can you give me some advice?
Are there go... |
If the obtained statistical data in a research were tested using Kolmogorov–Smirnov (KS) test and the test was rejected or in other words data were normally distributed, is it possible to utilize the non parametric statistical tests such as Mann–Whitney U or Wilcoxon singed‑rank tests? if not what parametric tests woul... |
I conducted an experiments where each participants played 5 rounds. For each round and for each participant I collected information regarding the dependent variable $y$ and the independent variables $X$.
Using linear regression to understand how $X$ drives $y$ I was wondering if any of the two below approaches are cons... |
I have independent sample data consisting of 12 levels, where the dependent variable is multinomial with three possible outcomes corresponding to Strategy 1, Strategy 2, and Strategy 3. Each level is associated with a numeric value ranging from -10 to 10. I want to test the hypothesis that these numeric values predict ... |
The following is a problem from Extreme Values, Regular Variation and Point Processes by Resnick.
We will say $1-F$ is rapidly varying as $x \to \infty$ if $\lim_{t \to \infty} \frac{1-F(tx)}{1-F(t)} = 0$ for $x>1$ and the limit is equal to $\infty$ for $0<x<1$.
Let $X_n$ be i.i.d random variable with common distributi... |
I would like to run a two-way ANOVA with interaction between the two factors. I did an experiment with two treatments: Treatment 1 has four levels (A,B,C,D) and treatment 2 has three levels (I, P,F). Each level of treatment 2 is represented in (almost) each level from treatment 1, except of A where there are only two l... |
I am reflecting on these examples of maximum entropy distributions. I am (pleasantly) surprised that various common distribution families have maximum entropy constraints.
It got me wondering if having maximum entropy constraints is something that all distribution families have, or if it is something that only some spe... |
A common introduction in varying parameters looks like that
$y_{ij} = \alpha_{j} + \epsilon_{ij}$, with $\epsilon_{ij} \sim\ N(0, \sigma^2_y)$
$\alpha_{j} = \mu_a + u_j $ and $ u_j \sim\ N(0, \sigma^2_a)$
which can be expressed with the formula mdl1 <- lmer(y ~ 1 + (1|a))
I'was trying to understand how the $\sigma^2_... |
I have data that represents treatments applied to a given number of subjects in two or more groups. After each treatment, the subjects in each group are appraised to be of quality 1-5 and the number in each group having each ranking are counted.
Some mock data for this process:
Treatment
1
2
3
4
5
a
1
1
20
0
1... |
What model-fitting methods are available for data sets that have values that are truly "not applicable"?
After reading about imputation, I've realized that my data set does not have "missing values" which can be imputed, since there are no logical imputation values for the missing data.
Let me explain further; I have a... |
I have a sequential dataset consisting of a history of sequential media playback data for every user, where each playback has a "trackID" as a feature, corresponding to a hash ID of the song / track that was played during the playback. I want to use this sequential data in sequential models like RNN, LSTM, or Seq2Seq, ... |
I have fitted a logistic regression model (with 6 variables) and obtained a McFadden pseudo R-squared of 0.15. I am now seeking guidance on interpreting odds ratios in light of this value. My understanding is that an excellent fit falls within the range of 0.2 to 0.4 for the McFadden pseudo R-squared. Given the lower M... |
There are multiple goodness of fit tests such as Kolmogorov-Smirnov, Cramer-von Mises, Anderson-Darling, and Kuiper's. Which one shall one use? There are threads (e.g. 1, 2, 3) and a nice textbook chapter (García-Portugués "Notes for Nonparametric Statistics" section 6.1) discussing that and related questions. My takea... |
I have this dataset 1356 x 12 and want to reduce the # of features to 8 - 10. I tried PCA but the variance capture is low. Any recommend techiques?
|
How does one estimate price-elasticity and cross-price elasticity using cross-sectional household survey data? Note that household survey data usually do not include price information. The literature is clear that imputed unit values are not the same as prices. Unit values are households' expenditures (e.g. in US$) on ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.