instruction stringlengths 9 38.7k |
|---|
I am experiencing a delay between the test data and predictions after some time:
The first row is earlier than the second row. Data are residuals calculated on time series velocity data.
Why does such a delay occur? How can I investigate this further?
Edit: To clarify, in the first row that corresponds to the first 50... |
I am working with a dataset including 65 participants, 35 in the control group and 30 in the experimental group. The objective is to assess wether the experimental group is non-inferior to the control group.
There are 2 events in the control group and 1 in the experimental group. Independent sample test of proportions ... |
If A and B are independent events but both are dependent on event C, how can I rewrite:
$P(A \cap B \cap C)$ ?
I was given in a question that:
$P(A \cap B \mid C)$ = $P(A \mid C)$ $P(B \mid C)$
and I'm trying to prove it to myself.
I'm stuck at proving that:
$P(A \cap B \cap C)$ = $P(A \cap C)$ $P(B \cap C)$
again, giv... |
I'm looking for help/indication on approaching a data integration problem.
I have a dose-response curve that is described by a log curve. Because of measurement difficulties, the dose and response can't be measured in the same experiment, for high and low doses. I can estimate the function's slope at low and high doses... |
This is a question from Exercises 8.3 from Introduction to Mathematical Statistics by Hogg, Craig, McKean.
Question: Let $X_1, X_2, \cdots ,X_n$ and $Y_1, Y_2, \cdots ,Y_n$ be independent random samples from two normal distributions $\mathcal{N}(μ_1, σ^2)$ and $\mathcal{N}(μ_2, σ^2)$, respectively, where $σ^2$ is the ... |
This is a figure for survival analysis on a dataset. The article is found at this link
I am self teaching survival analysis. Up until recently, I believed that AUC and ROC were only for classification. How are AUC curves computed for survival times? I'd like to remake this.
The data is found
at this second link
|
In Chang et al. "The Higher Moments of Future Earnings" (2014), the authors say say that based on (predicted) conditonal quantiles of a variable $y$, one can derive the (predicted) conditional variance of $y$ as follows (A3, page 34):
$$ var(y|\cdot) = \frac{1}{Q}\Sigma_{q\in Q}(quant_q(y|\cdot))^2 - (e(y|\cdot))^2, $$... |
I want to predict on a test set.
I have created a binary logistic regression using my current training set and have predicted on the test set. The dataset I used to split has 299 observations.
What if I want to remove outliers? Do I only remove them within the training set or from the entire dataset and split it once a... |
Kendall (1945) defines the curve of concentration (AFAIU, this is a synonym for Lorenz curve) as a parametric curve
$$
\left\{ \begin{aligned}F(x) & =\int_{-\infty}^{x}f(t)\mathrm{d}t\\
G(x) & =\frac{1}{\mu}\int_{-\infty}^{x}tf(t)\mathrm{d}t,
\end{aligned}
\right.
$$
where $F(x)$ is the CDF of a random variable $X$ wit... |
Currently, I am studying the book "storytelling with data - Cole Nussbaumer Knaflic" to learn about data visualization. Now I am learning why the slope graph can be very helpful. If you have too many observations it could become a mess. The book says the following:
If many of the lines are overlapping, a slopegraph ma... |
Suppose I am training a generative model G to produce vectors z in R^d, where d is fixed. The objective of G is to produce realistic vectors, which I am calling the "reality objective". Further suppose that G produces "plausible" and "implausible" vectors during training and I have a second model E, which can tell whet... |
On the XGBoost site, it is stated: "XGBoost mostly combines a huge number of regression trees with a small learning rate. In this situation, trees added early are significant and trees added late are unimportant" (https://xgboost.readthedocs.io/en/stable/tutorials/dart.html). AFAIK, the weight applied to each tree's o... |
I am investigating the improvement of learning a task over time. I have five individuals that take the same test over period of time. My assumption is that the number of minutes they need to complete the task will decrease with the number of tries.
However, I don't have an equal sample size to use a repeated measures A... |
I am trying to run a nls() to interpolate height growth of a tree given a series of samples, where each sample has a value of age, and height. I am using the Richards (1959) method:
$$
\textrm{Height}=x\left(1-e^{-y\cdot\textrm{Age}}\right)^z
$$
my age and height values:
> age
[1] 0 3 6 17 29 47 57 63 72
> height
[1... |
I have been trying to wrap my head around transformers. While I have found many good resources that explain the self attention mechanism I've yet to find a good answer on how it really works with respect to training.
With respect to the embedding layer my understanding is that an input of words or pixels is first token... |
I stumbled upon a (for me) odd formula for the sample covariance matrix. Is there anyone who can show me how to get to this form?:
Start with the simple regression $\iota = Xb + \epsilon$, a $1\times T$ vector, and by applying OLS we get $\hat{b} = (X'X)^{-1}X'\iota.$
Now the formula stated:
$$\hat{\Sigma} = \frac{1}{T... |
I am new to analyzing complex datasets using mixed models in R, so please forgive me if I am asking something very basic.
I'm currently trying to write a linear mixed model using the lmer function of package lme4. However, I cannot find much on the correct notation of nested fixed factors in the model. I only seem to f... |
Let's say I have some continuous variables and a binary treatment indicator. I want to cluster my observations based on the variables while ensuring that each cluster contains at least one member of each treatment level. Is there a variant of k-means clustering or another principled clustering algorithm that can be use... |
We know that sample variance $\sum(x- \bar{x})^2/(n-1) = \sum(x^2- 2x\bar{x}+\bar{x}^2)/(n-1)$ is an unbiasedd estimator of variance
Is $\sum(x^2 - \bar{x}^2)/(n-1)$ also an unbiased estimator of variance?
|
[My first question here. Thanks for taking the time to look into it!]
I am working on public health data where I calculate the correlation between incident counts (zero or positive integers) from two different locations. I calculate the Pearson correlation coefficient r - as I am testing for a linear relationship. Ever... |
In the wiki link for likelihood-ratio tests, it states
Suppose that we have a random sample, of size n, from a population
that is normally-distributed. Both the mean, μ, and the standard
deviation, σ, of the population are unknown. We want to test whether
the mean is equal to a given value, μ0 .
$${\displaystyle {\mat... |
Given the following PDF of continuous 2 random variables:
$$
f_{X,Y}(x,y)=\begin{cases}
y^2 & 0\le y\le x\le 1;\newline
0 & \text{otherwise}.
\end{cases}
$$
Graph showing the region of integration with x and y random variables:
Question is to find the marginal CDF $F_{Y}(y)$ and $P[Y > x]$
My attempt to ... |
I am estimating some panel ARDL models, and wanted to ask where the value add comes from with cointegration analysis. From what I've read, one can estimate long-run effects using an ARDL in levels as long as variables are I(0) or I(1) (Pesaran and Shin papers from 1990s say as much). I'm aware that spurious regressions... |
I have developed a GCN architecture with 3 different inputs, related to 3 different blocks of layers. After that, the outputs of those layers are concatenated. And after that, the architecture has a fully connected layer. I detail the architecture involves:
Input block (there are three of these, independent from each o... |
When performing resampling, I wish to perform the same imputation on the test set as I performed on the training set, which is accepted practice. So, when imputing with MICE, I generate a predictor matrix when imputing the training set and use the same predictor matrix when imputing the test set.
This works fine if the... |
Setup
Let's assume we have data $(x_{i},y_{i})_{i=1}^N$ and we assume they have a true functional relation $y_{i}=g(x_{i})$. I.e. we choose an arbitrarly complex function (like $g(x)=\sin(x^{2}\cdot \ln(\tanh(x)))+x e^x+\dots$)
Now I want to fit a feed-forward-NN $f_{\theta}$ with witdh $W$ and depth $D$ to the data t... |
I am trying to do a k=fold cross-validation on a polynomial regression. Unfortunately, I am getting an MSE that is vastly different from the MSE I would get if I were to just manually change the degrees in the code. Below is my code:
Validation Approach
# Polynomial Using sales, discount and quantity as dependent varia... |
I am reading section for 7.4 in elements of statistical learning, and I have some questions about some definitions and results in this section, and I would like to check if my understanding is correct.
In the definition for generalization error $Err_T=\mathbb{E}_{X^0,Y^0}[L(Y^0,\hat{f}(X^0)|T]$, why do we condition on... |
I need to solve the equation of
$$\log\left(\frac{\operatorname{Pr}(Y=k|X=x)}{\operatorname{Pr}(Y=K|X=x)}\right)$$
$$=\log\left(\frac{\pi_k \exp\left((x-\mu_k)^T|\Sigma|^{-1}(x-\mu_k)\right)}
{\pi_K \exp\left((x-\mu_K)^T|\Sigma|^{-1}(x-\mu_K)\right)}\right)$$
to find the following constants $a_k$, $b_{kj}$ and $c_{kjl}... |
I have two vectors with two levels:
vector 1:[1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Levels: 0 1
vector 2:[1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 ... |
Given the following PDF of continuous 2 random variables:
$$
f_{X,Y}(x,y)=\begin{cases}
y^2 & 0\le y\le x\le 1;\newline
0 & \text{otherwise}.
\end{cases}
$$
Graph showing the region of integration with x and y random variables:
Question is to find the marginal CDF $F_{Y}(y)$ and $P[Y > x]$
My attempt to ... |
The sample variance is the minimum variance unbiased estimator and its variance is related to kurtosis
$$\operatorname{Var}(S^2) = \frac1n\left(\mu_4 -\frac{n-3}{n-1}\sigma^4\right)$$
Is there some theory that uses sample kurtosis to improve the sample variance estimate, in whatever sensible sense (MSE maybe?) ? It'll ... |
It is a well-known fact that the minimizer of the mean-squared loss (MSE) $$\min\limits_\mu \mathbb{E}_{X} \left(X - \mu \right)^2$$ equals the expectation of $X$.
Are there any alternative non-trivial loss functions $f\left(X, \mu\right)$ such that $$\arg\min_\mu \mathbb{E}_X f\left(X, \mu\right) = \mathbb{E}_X X?$$ A... |
I am trying to do a Fine & Gray competing risk analysis for breast cancer death in patients with breast cancer. I want to assess the interaction betweeen race and chemotherapy on breast cancer death.
My database is df2 and has all categorical variables. survival is survival time, and cod_breast is the variable containi... |
I'm doing a diagnostic observational study, where doctors in two different fields (emergency physicians vs radiologists) try to diagnose same patient (paired sample). The question we are trying to answer is if emergency physicians are non-inferior to radiologists in dagnosing a specific disease with ultrasound.
The out... |
I would be very grateful for a gentle sanity check on adjusting survival times in my comparison groups. The scenario: I am using Cox regression to calculate HR risks over some covariates of interest.
My population is observed for six months, starting from the index event when a patient makes a medical complaint. There ... |
What I am trying to do:
I am currently doing analysis on neuronal calcium imaging data.
In particular, I have two things:
A time series that represents the amount of calcium within a neuron
A boolean time series that encodes whether an activity from a mouse is taking place
I want to see if a specific neuron is activa... |
In a machine learning I've trained using standardization, do I need to re-standardize the values I'm entering to get new estimates? For example, I'm going to train a machine learning model to predict the foot number of a person's age height and weight, in this case, let's say I train by standardizing the age height and... |
What is the difference between polynomial data fitting and the regression model? The traditional regression used in LASSO is also just based on polynomial fitting, albeit linear. What is meant by "pure polynomial"?
|
I am trying to understand the use of the inverse transform sampling and I saw the following definition:
Let $X$ be a random variable whose distribution can be described by the cumulative distribution function $F_X$.
We want to generate values of $X$ which are distributed according to this distribution.
Generate a rand... |
I'm trying to calculate an effect size index where I need to pool 2 standard deviations calculated from correlated variables (pre-post treatment scores). Using the standard formula:
$$
\sigma^2_{pooled} = \frac{\sigma_x^2 (n_x - 1) + \sigma_y^2 (n_y - 1)}{n_x + n_y - 2}
$$
I'm not taking into account the correlation be... |
I have a project predicting sentencing outcomes based on several predictors. Database of about 800 people. Some people share the offence that their sentencing is based on (i.e., co-accused), so they need to be grouped (i.e., doing a multilevel model). There are 127 groups (many of which have 2 people, up to 11 people).... |
I would like to compare the performance of the Gasser Müller estimator with other estimators for estimating the the derivative $m'(x)$ of the regression function $m(x)$.
Let's say we have the following regression model,
$$
Y_{(i)}(X_i) = m(X_i) + \varepsilon_i
$$
where :
$\{X_i\} \sim U([0,1])$
$\{\varepsilon_i\} \sim... |
Theoritcal question here.
Suppose for a moment that I have two studies: one conducted in males, and one conducted in females. The studies are slightly different in terms of year of enrollment, but collected the same set of variables, and in the same way (basically they used the same exact questionnaire).
Now I want to ... |
I have a survey of nearly 900 people. I have found the percent that respond yes to various health related questions. I then separated the people by income of more than 25,000 dollars and less than 25,000 dollars and found the precent that indicated yes to the health questions. IT can be seen that people with an income ... |
I have 2 questions:
Why doesn't the 'tt' option in Coxph() in R estimate both a linear and a quadratic effect when you include "tt=function(x,t,...) x * I(t^2)" or "tt=list(function(x,t,...)x * t,function(x,t,...)x * I(t^2))" ? All I see in the output is tt(var), instead of tt(var * time) and tt(var * time^2).
How do... |
I've recently studied probability calibration and have investigated many examples and revisited old models of mine to find that they are all poorly calibrated. The idea of stacking also has been cast in a new light.
However intuitive the "calibration" process is, I find it hard to understand why even very simple models... |
I have been using sklearn's CalibrationDisplay and think it is pretty cool. One thing I am wondering, though, is how I could potentially take that curve and make it an interpretable score. For example, here is a simple model and calibration curve:
import numpy as np
import matplotlib.pyplot as plt
from sklearn.datasets... |
Let's say we have 10 sets of 1 to 4 values each. First we sample one value from each set, giving us 10 values. We then sample five of these. Lastly, we compute their average.
If one repeated this two-step subsampling and averaging procedure thousands of times, one would obtain a distribution of means. How would I go ab... |
Recently I noticed that some pytorch repos of papers use Learning Rate Scheduler and momentum rate Scheduler , a lot of momentum rate schedulers exist similar to LR scheduler ranging from Lambda, Cosine, Cyclic schedulers , one article that caught my eye that was very interesting was something called Demon (paper: link... |
I'm wondering if it is feasible to conduct a ordinal logistic regression on the following dataset.
I want to investigate if there is a correlation between the alcohol outlet density (as counts) and the city (in)compatibility (on a ordinal scale).
I have 27 region units of a 500m radius wherein I have counted the differ... |
Traditionally, to investigate the interaction effects between 2 variables one would simply add the interaction term to their model. C ~ A + B + A:B. I feel fairly confident with how to interpret these results and understand some of the intuitions behind how interaction effects might manifest in a graph of this model's ... |
How would you interpret this output:
anova(mlogistic1, test = "Chisq")
Analysis of Deviance Table
Model: binomial, link: logit
Response: obese
Terms added sequentially (first to last)
Df Deviance Resid. Df Resid. Dev Pr(>Chi)
NULL 7965 1030.38
sex 1 14.227 7... |
I have 10th, 25th, 50th, 75th and 90th percentiles of a population which is NOT normally distributed. On the other hand, I have a sample from that population and I want to test if its percentiles are equal to the population percentiles:
H0: nth percentile of sample = nth percentile of the population
I know I can implem... |
I am working on clustering text data (very short sentences) vectorized with tf-idf. The data are characterized by high sparseness and the presence of abundant noise (considered here as documents that I don't expect to belong to any cluster). I managed to make DBSCAN work relatively well on the data as I know that, give... |
I want to calculate the variance of the MLE of an iid sample $X_1,\dots,X_n$ if
$$
f(x)=\alpha x^{\alpha-1}, 0 \leq x \leq 1, \alpha >0
$$
The MLE is fairly easy calculated as:
$$
\hat{\alpha}=-\frac{n}{\sum_{i=1}^n\ln(x_i)}
$$
I think about deriving the density of $\hat{\alpha}$, and then calculating $E(\hat{\alpha}^2... |
When studying the effect of an exposure $T$ on an outcome $Y$, we can control for measured confounders $X$, but the treatment effect can still be biased by residual confounding due to unmeasured confounders $U$. One approach for detecting this kind of bias is to use a negative control outcome $N$ (e.g. here), which is ... |
I believe I understand the gist of what Fisher Information is, but I want to be rigorous and I am confused by notation. Also I believe I am masquerading mistakes by abusing the notation (I have studied statistics by myself from different sources, no teacher to point me my mistakes). I will try to state my understanding... |
I am reading the VAEs paper Auto-Encoding Variational Bayes. In their loss function:
they define reconstruction loss (second RHS term) as the expected value of the log p(x|z) wrt to the posterior of the prior. I understand that this expectation is the midpoint of the function because the posterior of the prior is a Ga... |
I have two samples I'd like to do a hypothesis test on. The sample proportions are:
$$
\hat{p}_1 = \frac{120}{4000}
$$
$$
\hat{p}_2 = \frac{9000}{300000}
$$
If I did a test of two proportions where the null is $p_1=p_2$, would there be issues because $n_1=4000$ and $n_2 = 300000$?
|
I'm creating a set of models predicting species presence and absence using binomial GLMs. I created a GLM model from some survey data, and I have made predictive maps for the current and future distributions of each species, with the predictors being rasters of present and future climate etc . Example:
Present
Future
... |
I'm new to stats and using GraphPad Prism9 to look at homoscedacticity of a Kruskal Wallis test. Just wondering if this is heteroscedastic because it's cone shaped to me? Also would this mean that the Kruskal Wallis test is void as heteroscadistic means the distribution between each group is not the same?
|
We would like to show that $\hat{\alpha}=(σ ̂_Y^2-σ ̂_{XY})/(σ ̂_X^2+σ ̂_Y^2-2σ ̂_{XY} )$ minimizes $Var(αX+(1-α)Y)$. Note that
I am confused about the terms in red, I don't know why I am not getting 1 in the result.
|
The entropy of a random variable $X$ is defined as $\mathbb{E}(-\log(f(X)))$ (where $f$ is the pdf of X, https://en.wikipedia.org/wiki/Entropy_(information_theory)).
Is there any general relationship between the entropy of $X$ and the possibility to "more or less accurately" predict the value of $X$ using some constant... |
I recently got some Uranium–Thorium dates back from a lab. They are reported with a ±2σ uncertainty. Several of the measurements are replicates from the same specimen. That is, a few pieces from a single rock (a single annual layer from a speleothem, by definition deposited during the same year) were analysed on the sa... |
I made a feature importance chart using the random forest algorithm.
I want to perform feature selection on survival data.
How could I use this graph to feature select?
event.1 event.2
AMOUNT 0.2455 0.0108
INSTALL_RATE 0.0535 0.0239
FOREIGN 0.0413 0.0640
PRO... |
Call:
survdiff(formula = Surv(time, DEATH_EVENT) ~ s_s, data = ss)
N Observed Expected (O-E)^2/E (O-E)^2/V
s_s=OverMedianSerumSodium 122 30 40.7 2.80 4.89
s_s=UnderMedian_SerumSodium 177 66 55.3 2.06 4.89
Chisq= 4.9 on 1 degrees of freedom, p=... |
When cox regression says that proportional hazards are assumed, does that mean proportional hazards across all variables?
I've heard that it is only within two variables. But how? If the cox regression can fit more than 2 variables, should it not be assumed between all variables?
|
The concept of overfitting is widely talked about but opinions on the determining factor for whether a network is starting to overfit seems to differ widely. I guess this is broadly combined with: "when should we stop training a network?"
The two common opinions I have seen are the following:
A network is beginning to... |
Im currently working on a meta-analysis of interventional randomized controlled trials.
In the protocol, I mentinoned that I will be using Review Manager 5 for both the analysis and assesement of publication bias.
However, after the analysis, I noted that there is asymmetry of the funnel plot, indicating potential publ... |
Is the 99th Quantile Regression model a robust model?
From my understanding, Quantile Regression is supposed to be robust in nature, but removing some outliers using IQR, the results obtained by 99th Quantile Regression Model is significantly different.
So, should we go for removing outliers in case of 99th Quantile Re... |
I've got data from a retrospective cohort analysis. There are two groups that differ by a certain baseline characteristic, who were all exposed to an event (surgical procedures). The outcome of interest is a continuous non-normally distributed variable (a medical index). In both groups, about 5% of the outcome variable... |
Hello everyone,
I need to work with the data presented above. This question involves a little bit of knowledge of Rstudio. I would (1) like to obtain total revenue PER product (ucp), and brand, (2) sum all observations from product and brands, (3) and then pick up a product (ucp) and brand with largest total revenue i... |
I built ARIMA model, and I got the autocorrelations as in the images:
However, I could not understand which one is for $p$ and which one for $q$ and why;
my result is that $p = 1$ and $q = 2$. Am I correct or wrong and why?
Also, is there other statistical formula for finding $p$ and $q$ instead of visualization of au... |
I am trying to replicate Table 11 of the paper of Glaeser et al. (2004) "Do institutions cause growth?" in R.
(And I'm quite new to the world of R)
I was already able to reproduce the first stage regressions of panel B with the same results as the authors. However, I don't understand how to continue to the second stag... |
I'm trying to interpret the lmer model output.
In particular, I am trying to explain 'HU mean' with pathology (which has 3 categories Healthy - HC- VSD), gender (M-F), and an interaction between these two factors.
Linear mixed model fit by REML. t-tests use Satterthwaite's method ['lmerModLmerTest']
Formula: `HU mean` ... |
Assume the following population:
If I draw many repeated random samples of size N from this population, their means should be distributed normally - according to the CLT. Here, I draw 100,000 samples of size N from the distribution above and calculate the mean for each of the samples. Why does this convergence to the ... |
I'm training a binary classifier for disease detection.
Because of my small amount of data (~1000 datapoints, 10% positive, 90% negative), I've realized that doing an 80-20 train-test split produces quite a lot of variance in my results simply based off the test set I choose.
So I want to do k-fold cross validation. Th... |
Consider three random variables: $$u_1, u_2, u_3 \;\; with \;\; E[u_j]=0 \;\; and\;\; Var[u_j]=\sigma^2_j\;\;for\;\;j=1,2,3$$
Here, we know the values $\sigma_1,\;\sigma_2$ and $\rho_{13},\;\rho_{23}$ where $\rho_{j3} = corr(u_j,\;u_3)$, but we do not have the standard deviation $\sigma_3$.
Can you come up with a comb... |
First of all im working with a project that is not mine and cointains 0 explanatios about why things were done and I fear some of them are just mistakes.
I found that for the trainig of a convolutional neural network with a from a pretrained model on the detectron2 platform, the split of train and test sets was done af... |
I am looking for references on K-Means applied to linearly projected features instead of to the original features, in the sense that both K-Means and the projection matrix are learned at the same time.
I am aware of deep learning methods that can do the same thing even for highly non-linear projections, but I have the ... |
This is for a student selected class project. I am examining incidents of when Wildlife hits an aircraft across the last three decades. The data was selected from population (N=392,341) data at random in excel using data analysis sampling. I was planning on doing an ANOVA originally until I realized my data is a freque... |
So I was currently going through various implementations of models and they set a large batch size of around 256 , running this is google collab is very memory intensive, so I decided to use a batch size of 4 with a gradient accumulate of 64 which theoretically should achieve the same performance, but I don't understan... |
Suppose we have sampled a Brownian motion $(B_t)_{t\ge0}$ at $0=t_0<t_1<\cdots$. How can we obtain a sample at the midpoints of $[t_{i-1},t_i]$ from those samples? I've read that this is possible by a Brownian bridge, but wasn't able to figure out how exactly.
|
I'm concerned with a Gaussian process $f(x)$ on a finite domain $x\in[0,L)$ with periodic boundary conditions. Naively using the distance after accounting for periodic boundary conditions to evaluate the covariance kernel $K=k\left(\left\vert x-x'\right\vert\right)$ fails: $K$ is not positive (semi)-definite. I'd like ... |
I'm using the gls procedure of package nlme in R. Is it possible to specify that two different correlation matrices (Ar1 to start with but also, compound symmetry, Toeplitz and unstructured) should be estimated for two groups of respondents, men and women? Thanks for any assistance!
|
In my experiment, participants had to make a series of decisions between different options. On each trial, they were presented with a different number of options to choose from, and each option varied along two dimensions: d1 and d2. For example, on trial t, a participant could be given the choice between [(d1:5, d2:2)... |
I'm new to machine learning and have made some experience with some basic dataset and now i'm exploring BTC data.
I'm asking is correct to shuffle data when the data are BTC, ETH or any other crypto?
What i mean is that the price of a stock or crypto increase or decrease in every candle with a specific time-frame.
Does... |
I am looking into the STS statistical test for random sequence.
There are multiple statistical tests for a random bit sequence and each of them produces a p-value or multiple p-value.
After the test finished, I have dozens of p-values for multiple tests and each of them distributes approximately uniform over $[0,1]$.
I... |
I am currently working on evaluating the results of an A/B-test. For this, I am also looking into some relevant post-test segments.
Overall, I have no statistically significant difference between control and test group. In my post-test segmentation, I have three types of segments:
Segment type 1 is employment types wh... |
Given $X_1,...,X_n$ are i.i.d standard normal variables, the sample mean of the squares is
$$\bar{X^2_n}=\frac{1}{n} \sum_{i=1}^n X^2_i = \frac{1}{n}(X^2_1+X^2_2+...+X^2_n)$$
For very large $n$, is the distribution of $\sqrt{n}\big(\bar{X^2_n}-a\big)$ best approximated by a standard normal distribution or chi-squared w... |
I'd like to know if a continuous predictor variable (sal) predicts a binary response (empty) in a logistic mixed effect model, but discovered there is a non-linear relationship between the predictor variable and the log odds of the response. My understanding is if this linearity assumption of logistic regression isn't ... |
I am running BayesSearchCV to optimize the hyperparameters of my machine learning model. This particular procedure allows the user to choose the surrogate model. The options are Gaussian Process, Random Forest, Extra Trees, and Gradient-Boosted Regression Trees. How should my understanding of the hyperparameter space g... |
I have 2 metrics, screen size and screen resolution. These are independent of one another but do probably correlate. I’m looking for a way of combining them into an overall “score” to use against other variables but i’m unsure of the best way to do it!
Edit: I think I can just multiply the numbers together?
|
Suppose I have a collection of paired samples $(X_i,Y_i)$, where $X_i\in\mathbb{R}^n$ and $Y_i\in\mathbb{R}$. We find that $X$ and $Y$ are not particularly correlated with one another, but when we divide the samples $\{X_i\}$ into clusters in a certain way (e.g. $k$-means), we find that there do appear to be correlati... |
I want to model the variable $Y$ (score 1 to 10) that is a composite of 5 ordinal variables $Y_{a:e}$ with the same levels (0 = "not at all", 1 = "a little bit", 2="a lot"). $Y_{a:e}$ has been observed on the same individuals (n=500) at 3 points in time; $Y_{a:e;t1}$, $Y_{a:e;t2}$ and $Y_{a:e;t3}$. The aim is to comput... |
I am trying to compute what the 2.5% probability values are for the two ends of the distribution? here is what I am doing so far.
import pandas as pd
from scipy.stats import ttest_rel
df = pd.read_csv("https://raw.githubusercontent.com/Opensourcefordatascience/Data-sets/master/blood_pressure.csv")
stats.ttest_rel(df['... |
I am performing a study where I perform inferences based on cross-validation metrics that use the entire dataset. My reasoning behind this is (a) my dataset is small and imbalanced and (b) this is purely for inferential research purposes, not a production model. I am also stratifying my folds, so that each fold has an ... |
I have been given data where the raw readings conventionally have the mean of "blanks" subtracted from every reading. Then the blank-subtracted readings are divided by the mean blank-subtracted reading for the "zero" treatment. This would be followed by nonlinear modeling (four-parameter log-logistic) of normalized rea... |
I have what seems to be a relatively simple question that I haven't been able to find a satisfactory answer to despite searching for quite a long time:
The classic way to analyze time series data seems to be some flavor of RNN. However, most examples of this I've seen have used an input of single time series to RNNs. M... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.