instruction stringlengths 9 38.7k |
|---|
I have a dataset with measurements of a animal color pattern from a body part, measured under multiple conditions.In brief, each animal was treated from one side of the body, but not from the other, so here I assume that I have paired treatment and control data. Animals were reared at either high or low temperatures, t... |
In Extreme Values, Regular Variation and Point Processes, there is the following definition:
A non-decreasing $U$ is $\Gamma$-varying if $U$ is defined on an interval $(x_l, x_0)$, $\lim_{x \to x_0^-} U(x) = \infty$, and there exists positive function $f$ defined on $(x_l, x_0)$ such that for all $x$,
$\lim_{t \to x_0}... |
As I understand :
Distance from $x_0$ to the hyperplane $a$: $ \rho(x_0, a) = \frac{|<w, x_0> + b|}{||w||}$
We require $ min\ |<w, x_0> + b| = 1$, so $min \frac{|<w, x_0> + b|}{||w||}$ will be $\frac{1}{||w||}$
So in order to maximise distance to the closes instance we minimise $||w||$
Then we weaken and unite some re... |
I have a time series dataset with 7 independent variables. I have created a multi-linear regression(MLR) using 3 of these independent variables and two lagged variables. When I checked for the normality of the residuals using the Shapiro-Wilk test in R, p>5% (thus confirming normality).
Then, the residuals of the MLR a... |
I'm trying to figure out what it means to include 'study' as a moderator in a meta-analytical model. In the R package metafor, for example, we might build an intercept-only random effects model as such:
library(orchard)
data(english)
english_MA1 <- rma.mv(yi = SMD, V = vSMD,
random = list(~1 | StudyN... |
I'm trying to reconcile with a mixed model with random effect shows significant differences in fixed effects but has overlapping confidence intervals.
Here is data computing temperature of litterfall across three foresttypes A, B, C with time as a random factor. I computed it in two ways: a classic lmer and using boots... |
After fitting a linear regression model on a sequence of observations we obtain the joint distribution of all our regression coefficients, given the training data.
Suppose now that we have an extr observation of the predictor variables; $x$, and want to determine a 95% CI for the corresponding $y$, given $x$ and all tr... |
Given that the current sample location is $x\in[0,1)^d$, I would like to take the next sample $y$ as $$y=x+b(x)\Delta t+\sigma(x)\sqrt{\Delta t}\xi\;;\;\;\;\xi\sim\mathcal N_{0,\:I_d}\tag1$$ for some suitably chosen $\Delta t$, $b$ and $\sigma$. I will wrap $y$ around to stay in $[0,1)^d$; i.e. I effectively replace $y... |
From sklearn's documentation here:
The decision_function method of SVC and NuSVC gives per-class scores for each sample (or a single score per sample in the binary case). When the constructor option probability is set to True, class membership probability estimates (from the methods predict_proba and predict_log_proba... |
I am studying statistics and am working with R for the first time. I have some data that I am trying to represent it graphically. I have plotted a histogram and am trying to model it with gamma distribution. I have calculated the coefficients $\lambda$ and $n$ of this gamma distribution. I defined gamma_pdf as
gamma_pd... |
I need to find the Fisher Information for $T = \bar{X}^2 - \frac{\sigma^2}{n}$ with $X_1, \dots, X_n$ normally distributed sample with unknow mean $\mu$ and know variance $\sigma^2$. For this I'm trying to find the pdf of $T$ but I cant make it. I'm losted since the normal distribution is not standard and not even have... |
I have read in some blogs (I have not tested by myself) that (1) scikit-learn is slightly faster than statsmodels for 1,000 or less observations, this difference is not significant per the t-test analysis; (2) Sci-kit learn is significantly faster for datasets with more than 1,000 observations.
I also took a look at t... |
I am using Additive Bayesian Network (ABN) to model the relationship between cereal crop production and climate variables and want to generate credible intervals and p-values for my model coefficients.
My challenge is which appropriate r code will help me get my outputs. I am using RStudio.
Thank you.
|
How do I make inferences about population parameters based on a 3$\times$3 table of observations? In "Bernoulli's Fallacy", Aubrey Clayton provides this (Table 5.8).
Democrat
Republican
Unaffiliated
Total
High income
2
6
2
10
Middle incom
4
1
0
5
Low income
6
3
1
10
Total
12
10
3
25
Let $(h_D, m_D, ... |
I just learned about interrupted time series and have a few questions about them.
Say I have a dataset of individual patients and I want to compare their monthly rates of getting a certain lab test before and after a policy change.
Questions:
Am I correct in thinking ITS can be used on both aggregated data AND individ... |
I have a list of floats data, representing tail, sampled from a Generalized Pareto distribution.
I want to fit that tail and find shape/scale/loc parameters:
from scipy.stats import genpareto
genpareto_shape, genpareto_location, genpareto_scale = genpareto.fit(data) # shape, location, scale
x = np.linspace(0, 43000,... |
We have a dataset of many multivariate time series. We want to be able to determine if a new time series is 'normal' with reference to our dataset (i.e., was it drawn from the same distribution).
These series may be of variable length and they shouldn't be time warped.
My idea was to compute a 2d histogram from the ref... |
I have a dataset with experiments. Each of them was performed with different settings. The outcome, binary, is only known once the experiment is over after 60 minutes. We collect data every 30 seconds, so we have 120 observations per experiment, and one single outcome for the whole. It looks something like (shortened d... |
I was conducting a network metanalysis of treatments and found out that I2 and tau2 esitmates are widely different between the models (as an example, for the same outcome, I have a tau2= 0.0078 and I2= 12.2% [0.0 - 46.6%] with the frequentist model and tau2= 87.4 and I2= 99.8 [98.9 - 99.9]).
How can this be possible? A... |
I have a dataset like this:
> test
size wing genotype season
1 1645.3125 545751 KO DS
2 365.4297 592994 KO DS
3 415.7227 640617 KO DS
4 235.4492 613177 KO DS
7 1840.9180 553981 WT DS
8 532.4219 607689 WT DS
9 811.9141 640617 ... |
I have data from a longitudinal study, more specifically MRI data and the performance on a neuropsychological test at two time points. My research question relates to the relationship of gray matter change and change in performance on the neuropsychological measure - I would like to test whether gray matter change in b... |
I am doing meta analysis for my thesis and I have a problem with my data. I want to investigate whether psychiatric comorbidity have effect on increasing risk to my outcome. I got 3 studies that talked about it and they used OR/RR analysis to show the association between comorbidity and outcome. However, 2 of the studi... |
I have an example, where I want to automate matching up records in two datasets. I'm wondering what kind of machine learning model would potentially be able to deal with this kind of issue. I'm thinking
Maybe some kind of transformer neural network without positional encoding (there's not really an obvious ordering, s... |
Suppose I have a discrete random variable $S$. Now further suppose that I have a random variable $X$ which is a continuous random variable on the real line. I wanted to express the p.m.f. $P[S=s]$ for $S$ using the expression:
\begin{equation}
P[S=s]= \int_{\mathbb{R}}P[S=s\mid x]P[x\mid s]dx
\end{equation}
A professor... |
I am looking at the effect of beaver dams on water levels.
Can I use the lme4 R package with a generalised or linear mixed model, and how?
My data doesn't seem to conform to any of the distribution options.
Data Variables
mAODscale - water level data scaled to fluctuate around 0. It is made up
of decimals. Fluctuate r... |
I am working in polishing up work an undergraduate class did and the data set is raising a lot of red flags for me. Like to the point that if these concerns I have aren’t resolved by either redoing the sampling or explaining why my concerns aren’t valid, I’m going to walk away from the project. But before making that u... |
I am trying to fit a two_site model which I derived, (basically, rate as a function of pressures of reactants and products) to my experimental data. Just want to check if the logic below is fine, because the fit parameters are not ideal as I expected. Of course, this means that the model could be wrong, however, that p... |
0
How can I analyze the causal effect of variable X on Y using cross-sectional data? I have employed IV regression, but now I want to test the effect of X on Y specifically for individuals belonging to the same village, town, or household. Since I lack variables to control for the village or town characteristics, which... |
My question concerns this paper which is a little too succinct for me to understand. The context is the following. Suppose $y$ is Normal distributed, with a Normal-Inverse-Gamma prior,
$$
y \sim N(\mu, \sigma^2) \\
\mu \sim N(\gamma, \sigma^2\nu^{-1}), \quad
\sigma^2 \sim \Gamma^{-1}(\alpha, \beta).
$$
The marginal... |
I have data from an intervention study (10 clinics, 5 control, 5 treatment). The outcome is counts, and we have monthly data at baseline, treatment active phase, and post treatment phase. The number of months in each of these longitudinal phases differers between clinics, e.g. clinic A might have 2 months baseline, 12 ... |
I asked chatGPT and it said that of course I can, but I thought having a human in the loop would be a good idea to confirm.
The main question is: Can you use your experimental predictor as an outcome variable in a statistical model, but still claim that it is the cause (and not the effect)?
The specific context:
I work... |
I have a study with 2 within-participant predictors with two levels each, and one between-participants with also two levels (group). The two groups perform the same task, but with different stimuli (neutral words vs. color words), so in my first analysis I have created a LMM with participant as the grouping variable fo... |
I would like to fit a model to predict an outcome at a given time (t=1 in the attached plot) using covariates X.
As I have many missings at that time I've thought of also using past information of X. I have designed this model to avoid multicollinearity:
Y ~ (1-t)·X + t·X + t
For each person I measure Y once but I can... |
I would like to compare the classifier performance when there is a newly added variable to the dataset. Say the original prediction was with 10 input variables. The new one is with 11 inputs.
My purpose is to check whether it is practically useful to collect this new input variable. I am particularly interested in comp... |
Context + Overall Aim:
We have months of data tracking where a truck has travelled around a mine site, and we need to identify circuits it travels. The purpose of the truck is to essentially transport loads repeatedly from one location to another. A complete circuit is defined as where a truck is loaded, hauls to a loc... |
When we are analyzing the causality from X to Y, especially when literature has used extensively IV regression and PSM as a method. However, as I know PSM is matching method while IV is a regression method. Can we use these methods alternatively? For example, my research question is how ill health (binary variable) is ... |
I am running a simple correlation and scatter plots similar to the one here between the unemployment rate as the outcome variable, as unemployment insurance UI claims as the independent variable. I only have 34 observations (i.e. periods) so I assume I can't run a regression analysis, correct?
If I am interested in lea... |
I have a weighted data sample (size : 20000) and I want to calculate a 95% confidence interval for the mean of a variable in the dataset, but only in a specific subgroup within this dataset (size of the subgroup : 200).
The values of the weighted mean and the weighted variance in this specific subgroup are given.
Thus,... |
In the method called inversion we have :
Let $U$ ~ unif(0,1) denote a uniform random variable on $(0,1)$.
Then : $\mathbb{P}(F^{-1}(U))$ = $\mathbb{P}(U \leq F(x))=F(x)$
so $F^{-1}(U)$ has distribution function $F$. Hence we can simulate a realisation of $X$ by simulating a realisation of $F^{-1}(U)$.
For example, if ... |
I am using the svyglm function in the survey package in R to compute a risk difference in proportions, 95% confidence interval and p-value. The outcome is binary and seeking the % risk difference between male and females. The method suggested by Thomas Lumley is by using the svyglm() for a linear model, explained here:... |
I have a large dataset of different species-level traits like leaf length, lifespan, height, etc that I am combining with a time-series occurrence dataset to see changes in mean trait values over time. Some basic example of the dataset structure:
Traits
Species
Leaf length
Height
A
1
10
B
5
15
C
3
35
D
2
... |
I have found this quote from a (to me obscure) power calculation software:
For a given effect size, sample size, and alpha, a one-tailed test is more powerful than a two-tailed test (a one-tailed test with alpha set at .05 has approximately the same power as a two-tailed test with alpha set at .10).
I am interested i... |
I am trying to use Kolmogorov-Smirnov test to check the goodness of fit of the distributions for the dataset. I have dataset consisting of 100,000 samples and I apply expectation-maximization algorithm to get the mixture of gamma distributions from which I get the weights, shape and scale values. This graph shows the d... |
Is it always true that nested expectations equal expectations on the joint?
$$
\mathbb{E}_{p(x)}[\mathbb{E}_{p(y \mid x)}[f(x, y)]] = \mathbb{E}_{p(x, y)}[f(x, y)]
$$
Something along these lines appears at the end of a proof I am reading. Surely though one can write the LHS using the TOWER property which would give
$$
... |
I have a data set comprising about 20 track and fields events, each with about 50 data points from males and 50 from females. Those I've checked so far are normal distributions (within sex).
My null is that there is no performance difference between male and female athletes.
Is there a way I can transform data across t... |
I would like to design an experiment to measure the behavior response of (non-human) individuals clustered in a group of five individuals. Multiple clusters will be measured independently. Each cluster will be exposed to a continuous, increasing threat; think of it as a deadly drone coming from a distance (say 50 m sou... |
I have a simple dataset where I have fit y = 0 + x + I(x^2) for three altitude levels 1, 3, 6.
I want to test whether the quadratic relationship is different for the three levels.
I can think of two ways of setting it up. But I need help with the interpretation
#1: A simple additive model
lm(y ~ 0 + x + I(x^2) + alt.le... |
I don't get $G^(i)$the set of indices into the inputs for group $i$, $\{(i −1)k+ 1, \ldots , ik\}$ when creating a maxout units/function, these thing that outputs the maximum element of groups: $$g(z)_i= \max_{[j∈G^{(i)}]}z_j$$
Maxout units(Goodfellow et al., 2013a) generalize rectified linear
units. Instead of applyin... |
I am fitting an ARIMA model to do interrupted time series analysis on cancer rates. I have log-transformed the data for fitting for stability and because this is typical with cancer rates, but I am having trouble interpreting the resulting coefficients. In particular, I can't quite make out what the pulse coefficient i... |
I would like to calculate the r-squared value for some regressions. The model (its in a GUI) I am using gives me "goodness of fit" in terms of the sum of squares deviation. I am using Ecopath with Ecosim 6.6.5. The weight is the value in ( ) for the observed data.
This goodness of fit measure is a weighted sum of squa... |
I have carried a study of plant growth under 2 different treatments, each with 100 sample and measured the stem height after 3 months.
I then want to carry out a t-test to compare if there is any significant difference of plant growth (ie stem height) between the 2 treatments. But But a few plants died after 3 months a... |
I know that Metropolis-Hastings is an MCMC (Markov Chain Monte Carlo) method that is very useful in higher dimensions. The advantages it has over something like simple rejection sampling are that there are fewer points that are rejected, especially in higher dimension systems, and thus it is more efficient (sometimes e... |
I'm trying to construct a discrete-time survival model to analyse some mating data. I've used a Cox proportional hazards model previously but got some input that the discrete-time survival model would fit my data better.
The previous post and my results I got from R there can be found here and can work as a good backgr... |
I am trying to conduct an interrupted time series analysis looking at lab test rates (outcome) and how they changed due to the COVID shelter-in-place order in March 2020.
I am making use of this paper to guide me: Time After Time: Difference-in-Differences and Interrupted Time Series Models in SAS
I have a individual l... |
I'm quite annoyed by the outputs of one my analyses.
I'm conducting a repeated measures ANCOVA including two IVs, one DV, and two covariates. My issue is that when I include my two covariates, the effect of IV1 is not significant (while it is highly significant when I exclude either of the two covariates or both). I ea... |
I have a time series y(t) of observations that can be approximated by the following linear model with unknown parameters:
$$y(t) = \alpha*X_{1}(t) + \beta*X_{2}(t) +\gamma*X_{3}(t)$$
X1, X2 and X3 are in fact outputs of an ensemble model, thus average (and consequently the RMSE) and variance can be estimated. I want to... |
There is OpenAI embedding API
https://platform.openai.com/docs/guides/embeddings. How is this embedding related to the GPT3.5 transformer model architecture? Is it the vectors learned from the input embeddings part, which is the summation of word embedding and position embedding, at the end of model training?
Is LLM op... |
I am trying to interpret the output of the growth command with regressors. Here's the command, and the covariates are dummy coded 0/1:
# intercept and slope with fixed coefficients
i =~ 1*G3_Theta_Read + 1*G6_Theta_Read + 1*G10_Theta_Literacy
s =~ 0*G3_Theta_Read + 1*G6_Theta_Read + 2*G10_Theta_Literacy
... |
Suppose I am trying to make inference about a parameter $\mu$. I have a prior
$$
\mu \sim N(0,\sigma^2),
$$
and I observe two correlated signals about $\mu,$ namely $x_1, x_2$ where
$$
\begin{pmatrix}
x_1 \\ x_2
\end{pmatrix}
=
N\left(\begin{pmatrix}
\mu \\ \mu
\end{pmatrix}, \begin{pmatrix}
\sigma_1^2 & \rho\sigma_1\... |
I was using caret for years.
I was wondering if there is a similar ML framework like caret.
Like in python they have several systems in deep learning (keras, pytorch, tensorflow, etc).
Just want to open my mind and to see a bigger world.
Any books or links will be fine, I could read my self. And a detailed answer is al... |
I plan to do a meta-analysis including the effect size of each cohort as the objectives. I'd like to ask if I could apply multiple test corrections (i.e. Bonferroni) on the pooled effect p-value.
I couldn't find a similar paper or other reference. I'd be very grateful if you could give me any suggestions.
|
A common problem in my field (climate science) is that we want to assess the statistical significance of a 2D spatial field. This field is typically obtained by taking the temporal mean of a subset of the data.
We might test the statistical significance of this field by generating many bootstrap samples from the full s... |
I've seen some papers discussing the imbalanced regression recently and was wondering what's the benefit of this line of approaches compared to conventional data transformations (e.g., Square-root, Log transform or Box-cox)?
Papers in Imbalanced Regression
Delving into Deep Imbalanced Regression, Yang et al., ICML-21
... |
A shock happened in early 2003. I want to estimate how the shock changed the impact of X.
However, X existed all the time even before 2003. That's a difference from typical DID setting where X happens after 2003. I want to test how a shock in 2003 changes the impact of X that has always existed.
So, the estimation resu... |
Suppose I have 100 items and I would like to come up with their ranking based on user preferences. i.e. each item should receive a rank from between 1-100, where 1 is the most preferred item and 100 is the least preferred item. Data is collected through pairwise comparisons, where users choose which item they prefer (b... |
I am currently testing if an OLS slope is statistically different from a known, expected slope. I think I would need to do a one-sampled t-test but I am not exactly sure how. Specifically, is the degree of freedom also N-1 if I have N data points? Thanks for any insight!
|
I have a linear regression model where I predict a user's completion rate for a specific game. The training data looks like this:
User Predictor variables
Game Predictor Variables
Completion rate of user i for game j
user 1 features i.e. age, gender
game 1 features i.e. prize_amount( USD), entry_amount( USD)
va... |
I am currently doing multiple linear regression analysis and was wondering if it would be legit to compute a new single variable by taking the mean out of four variables that are measuring the same construct and which all have the same scales (four questions were asked to assess a users disposition to trust technology)... |
To better capture uncertainty about the phenomena that we model, probabilistic predictions seem to be a natural and common extension of point predictions.
Methods for evaluation of these predictions are also relatively common as well under the name of scoring rules, one in particular being the Continuous Ranked Probabi... |
Suppose we have the set $\{\mathbf{x}_i\}_{i=1}^{N}$, where $N$ is the size of the data set and $\mathbf{x}_i \in \mathbb{R}^m$ is the $i$th $m$-sized regressor.
The question is simple: how to compute the sample correlation matrix of this regressor?
AFAIK, the sample correlation matrix is given by (considering standard... |
I am looking for a finite-dimensional family of distributions $F_X(x)$ with all the following properties:
Supported on $[0, +\infty)$,
Fat tailed, i.e. $(1-F_X(x)) \sim x^{-\alpha}$ for $x\to +\infty$ and some $\alpha>0$,
The mean is finite (this implies $\alpha>1$ in 2.),
Stable under sum of i.i.d. variables: If $X_1... |
I am trying to understand the mathematics behind Ridge regression for parametric GAMLSS. As I understand so far, it introduces a penalty term defines as
$$\text{Penalty term}=\lambda \sum_{j=1}^{J_k} \beta_j^k$$.
My question is then, when doing Ridge regression for parametric GAMLSS (Generalized additive models for loc... |
I have a standard data set for linear regression (X - 2D array with values of features and Y - the corresponding 1D array with targets). I can use this data set to perform a standard linear regression.
Now we modify the setting slightly, namely we say that many targets are not available. In other words, for some featur... |
I'm reading about Fisherian vs. Neyman-Pearson paradigms relative to hypothesis/significance testing. (NB: I'm new to this and self-studying it, so I'd be glad to be corrected if I misinterpret concepts or misuse words.)
In this article (pdf file), the author argues that the Neyman-Pearson paradigm is less adequate in ... |
i'm trying to pre-estimate the most abundant isotopomers of isotopic distributions.
as a simplified example, picture a molecule with an increasing number of carbons
the natural abundance of carbon's 2 natural isotopes:
C12: 0.9893,
C13: 0.0107
i can figure out a basic way of estimating the most abundant isotopomer of ... |
I have some binomial mortality data that I'm working on in R.
The dataset looks like this:
this is head() of the dataset, mortality = 1 and alive = 0, i have three different treatments in A and B that are the following:
which gives me 9 possible combinations. When i want to analyse the data i fit it to a glm with bin... |
I have a dataset where for the same input, you get slightly varying results. In the final dataset I am using there are 4 input/output pairs for every input where the input is exactly the same but the output is slightly different.
What are ways to handle this in a machine learning model?
Some ideas I was thinking about:... |
I am currently working with a dataset that consists of time series data of 50 different parameter.
As usual, these time series are quite irregular. However, there are parameter groups that have a pretty similar interval. More precisely, there are about
10 parameter that occur together every minute.
10 parameter that o... |
I am new to SEM and have some methodological questions. Here is the model I would like run (LV = latent variable and OV = observed variables).
First, from the example I saw on the web, gender, age etc. are often "covariates". However, due to the litterature, I have specific hypotheses that these observed variables ha... |
There's a problem which often comes up within my field and doesn't seem to be approachable analytically. Any suggestions or direction towards the class of problems this falls under would be helpful.
First consider a OLS problem
$$
d_n = A(\lambda_n)\exp\Big(-\sum_i c_i \epsilon(\lambda_n)\Big),
$$
so that
$$
-\ln(d_n/A... |
I have a variable: hyperglycemia and a bunch of other variables like Age, Gender, BMI, many other variables. I would like to create a matched case control group case being those with hyperglycemia and control are those without hyperglycemia.
I would like to match for potential confounders but since I have a lot of vari... |
I would like to perform a two-way repeated measures ANOVA test for my research. In my data, I have six time periods and two groups (intervention and control group) - I am interested in the interaction effect time*group. In the control group, there is no treatment at all and in the intervention group, the treatment take... |
Recently, I've been questioning myself on the possibility of combining a discrete update and a continuous update on a single MCMC. Stephens (2000) in Algorithm 3.2 runs the process for a fixed amount of time and then use this result to update the rest while Mohammadi and Wit (2015) use a continuous update on one "param... |
I was wondering if there were good resources or references to improve the accessibility of various kinds of data visualization (plots, charts, networks, tables, maps, etc.), for blind people or people with other vision impairment. For example, I'm already aware of tools to make data visualization friendlier to color-bl... |
There are some references like this that says in linear regression, this is not necessary for variables to have normal distribution.
but I read some books that say otherwise:
Joseph Hilbe in a book called "Modeling Count Data" on page 3 states that
The traditional linear regression model is based on the normal or Gaus... |
Suppose I want to estimate some set of unknown quantities $\theta_1$, …, $\theta_N$. For each $i \in \{1, …, N\}$, I have two estimators: $\hat{\theta_i}_A$ and $ \hat{\theta_i}_B$. The goal is to combine these estimators to form an "optimal" estimator, where there is some discretion in defining what "optimality" mean.... |
I am trying to establish a relation between a new regulation and the stock market investment behaviour of people. To do so, I have a set of panel data, which has people (i) over multiple years (t).
INVESTMENTit= α + β*REGULATIONt + β*TREATEDi +
β*REGULATIONt*TREATEDi + ϵ
However, the regulation only app... |
I want to compare two groups using the Mann Whitney U test (also known as the Wilcoxon rank sum test) per this description: https://sphweb.bumc.bu.edu/otlt/mph-modules/bs/bs704_nonparametric/bs704_nonparametric4.html
My issue is that the two groups are conditionally independent but not independent. Is this test valid?
|
I am very new to Dirichlet Regression and trying to make sense of the output and the regression coefficients. I am doing a biomass study and have tested the following variables (DBHH, DBH + H, DBH and DBH + Cr_L) in my models to determine the best model to describe the biomass proportions using Dirichlet Regression. Ac... |
I have calculated several "measures of similarity" among histograms and discrete probability distributions (such as Cosine similarity, Kullback-Leibler divergence, Jensen-Shannon distance, Wasserstein distance, Hellinger distance, Székely dCorr, etc..).
It looks like, or better to say, I have observed, that the results... |
A colleague at work gave me a problem to think about.
If you throw $n$ dice, how many configurations are there where you get at least 2 6's in a row?
I worked a lot with Pascal's triangle and in the end found the following formula which works when compared to brute force calculations.
$$A(n)=\sum_{i=0}^{n-2}5^{n-2-i} \... |
this is my very first post and I would consider myself a beginner in statistics, but I couldn't find anything about this in other asks.
I am learning about the Self-controlled case series (SCCS) model and in the derivation of its likelihood the author begins with a "cohort likelihood" formula (s. image).
I have spent a... |
Does a latent variable in SEM need to be defined by validated scale or can you "imagine" one?
For instance, I work on school participation (defined in research by attendance to school and invovlment in school activities). I have several measures: 1/ school attendance of the child (which can be 0%, < 50 %, > or = to 50... |
Specifically, I was reading this article, which discusses this wording of the question:
Consider a family with two children. Given that one of the children is a boy, what is the probability that both children are boys?
and says
In this formulation the ambiguity is most obviously present, because it is not clear whet... |
Disclaimer: this is a more theoretical question than a practical one.
I am trying to predict the revenues of a company (so I can't post the data) using the past 4 years data (monthly) and exogenous variables such as specific discount events that happen during the year.
These events are not always in the same months, so... |
Suppose I have a sample comprising two distinct groups. I want to estimate the survival curve separately for each group using the Kaplan-Meier method. My primary goal is to visualize any differences in time-to-event between the groups. Additionally, I plan to conduct a log-rank test to formally test for differences.
Ho... |
I am seeking advice for the best way to score a multi-output/multitask classification model's output.
Problem setup
A simplified version of the model is as follows:
Training data have F features, say they are descriptors of people (ethnicity, hair color, eye color, medical data)
Target variable is age
Obviously this ... |
Following are the definitions of independent variable and dependent variable I found on the internet:
<1> In statistical modelling, the dependent variable is studied to see if and how much it varies as the independent variables vary.
<2> Independent Variable: variable that causes the variation.
<3> Dependent Varia... |
This question has come around due to a comment from a reviewer on a journal submission, but it has me interested and I want to see the general discussion on the subject.
I have a study where I'm looking to analyse and compare the pathways that would influence differences of mental wellbeing between elite athletes and t... |
So I've been trying to understand the
boy-girl paradox, and I reframed it in terms of coin flips to help it make more sense to me and I get now why the probability is different depending on whether we're considering a specific child vs just either child. But now I'm stuck on how to think about the selection process wh... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.