instruction stringlengths 9 38.7k |
|---|
I'm trying to think of a method i could use to generate the random numbers between 0 and N in a random order and with uniqueness that would use the smallest footprint of memory at the beginning and only increase the more numbers are generated.
The existing solution i have is (python code):
def _generate_random_sequence... |
I am in the process of modeling the predicted immune response since time to last drug dose. Please note that this is illustrative and not really the real context. I have been using LMM to model the regression equations
I noticed that, from day 30-60, the slope is (+) which does not really make sense (i.e., it's counter... |
Suppose I have a noisy observation $Z$ of a covariance matrix $F$, given a prior on $F: p(F)$, I would like to find the posterior of $p(F|Z)$, does the following specification forms conjugacy?:
$$ F \sim IW(v, F_0)$$
$$Z|F \sim W(v_k , \frac{F}{v_k})$$
$IW$ denotes Inverse-Wishart, $W$ denotes Wishart. $Z$ is a noisy o... |
Assume that we have a time series that we want to model as a stationary real-valued stochastic process: $$X_t , t \in \{0, 1, \dots \}.$$
Two complementary measures of linear dependence between the lagged versions of $X_t$ $(X_{t-1}, X_{t-2}, \dots)$ and $X_t$ would be the autocorrelation and partial autocorrelation fu... |
A definitive proposal can be found in:
Elo, Arpad E. (August, 1967).
The Proposed USCF Rating System,
Its Development, Theory, and Applications.
Chess Life XXII (8): 242-247.
How exactly are
THE PERCENTAGE EXPECTANCY CURVE (Fig. 1),
TABLE I - RATING DIFFERENCES, and
TABLE II- WINNING EXPECTANCIES
(page 243-244) calc... |
I wonder in clustering, what does algorithms like KMeans do with missing value data? For example, if in one of our samples, the information for one of the dimensions is NaN, what KMeans do with that dimension when compare it to others? Does it give a value like average of others or just ignore this dimension when compa... |
I am estimating a panel logit model, which looks like this:
$logit(P(event_it = 1)) = β₀ + β₁X_{i,t-1} + µ₁Z_i + α_i + ε_{i,t}$
where:
$P(event_it = 1)$ represents the probability of a flood occurring for catchment i in month t.
$X_{i,t-1}$ represents the independent variables for catchment i at time t-1, specifically ... |
I'm trying to implement a simple VAE by following several tutorials
like this and this. This is the code that I came up with:
class VAE(torch.nn.Module):
def __init__(self,input_shape,h_dim,z_dim):
super(VAE,self).__init__()
#Encoder, image to hidden space
self.img_2hid = Modules.Linear(input_shape,h_dim)
... |
I have two different experimental setups with three replicas each. The data describes the growth of bacteria over time. I am looking for a test to determine whether the time series of the two setups are significantly different (p<0.05). I tried several approaches but did not find a clear solution by now. This is what I... |
How does one specify the model in the following question:
Are there subgroups of patients for which the trajectories of five biomarker behave similar in relation to the outcome(s) while accounting for characteristics like sex, age at injury and GCS?
The R-package that I am using is lcmm and more specifically the hlcmm(... |
Suppose $X_i\stackrel{IID}\sim N(\mu,\sigma^2)$ for $i=1,...,n$, where $\mu$ is known. We want to apply the likelihood ratio test to decide between the hypotheses
$$
H_0: \sigma=\sigma_0 \\
H_1: \sigma\neq \sigma_0
$$
for a given fixed $\sigma_0$.
Doing some computation and writing $t=\sum_{i=1}^n (x_i-\mu)^2/n\sigma_0... |
I am a beginner into additive models and GAMs, but have good enough knowledge of linear regression. I was going through this wikipedia article to understand more, but can't seem to understand the identifiability problem for multiple smooths in this section. To Quote, Wikipedia says
This makes sense to me. However when... |
I am using a GAM with ordered categorial data to estimate temporal trends in shifts from one category to another. I would like to add the model fit to my data, but I don't know what to do with what I get from predict.gam - how do I get from the linear predictor to something like the blue line in the left panel?
Or shou... |
Let's suppose that I'm trying to predict a stochastic forecast with machine learning models, and I don't have missing, null/NaN values and outliers. Also suppose that there is an error for the predictive model which decreases if I normalize and standardize the data:
a) I put the raw data in the machine learning model
... |
I am new to time series but for my project I wonder if there is something along those lines:
My aim is to classify each datapoint of a time-dependent time series. In practical terms, I have arrays of variable lengths. Those capture the progression of a signal in time. Now I want to use deep learning to classify the dif... |
The question here is about a passage in the very frequently (10,000+) cited paper by Storey and Tibshirani "Statistical significance for genomewide studies" (https://doi.org/10.1073/pnas.1530509100).
For their method they need to estimate a parameter named $\pi_0$, which is more or less the overall false discovery rate... |
I'm having a bit of a hard time interpreting the results of this linear mixed-effects model:
happy_prob ~ height_shuffle * height_original + (1 | template)
Where height_shuffle and height_original are two categorical variables with three levels (high, mid, low) referring to vowel height (e.g., /i/ is high while /a/ is... |
I was hoping someone could help with a problem in my area of Optometry. We use visual fields/perimetry to assess patients visual function. This consists of patient responses (or not) to points of light projected onto various locations on the retina at various stimulus intensities. The dimmest light seen is recorded as... |
Let $X$ be a normal random variable with mean $\mu$ and variance $\sigma^2$.
What is the $E\left [ \frac{1}{e^X-1} \right ]$ and $Var\left [ \frac{1}{e^X-1} \right ]$?
Any thoughts or references are welcome.
|
Given a random variable $X$ such that for some $p$, we have
$$
|| X ||_{L_p} = (E |X|^p )^{1/p} \le C_p < \infty.
$$
Supposedly then the following statement is true: for any $v>0$
$$
E (X^2 1_{|X| > v}) \le \text{min} \left ( ||X||^2_{L_2}, \frac{||X||^p_{L_p}}{v^{p-2}} \right).
$$
For the first, I can see that
$$
E (X... |
I have data indicating quality of life (QOL) as a percentage score from questionnaire data. The data is longitudinal (collected at baseline, 3, 6, 9 and 12 months) and there are other covariates such as site and cancer type. To model these percentage scores I used a glm with binomial family and logit link. In R this wa... |
I am setting up a Hierarchical model whose target distribution is $p(\theta,w|y)$, $\theta$ being a reduced set of high-level parameters, $w$ being a data augmentation of very high dimension, and $y$ being the data.
The big problem is that there is a coupling between $w$ and $\theta$ making vanilla Gibbs sampler unusa... |
My goal is to evaluate the evolution of the COVID-19 effect using a triple difference estimator
First, I am using a differences-in-differences model to evaluate the effect of COVID-19 on student test scores. I am interested in the progression of students between grade 2 and grade 5 for a cohort exposed to COVID-19 in g... |
I am curious as to why a likelihood ratio cannot give positive evidence for the null, since it is a model comparison.
Indeed, this is more confusing given the fact that Bayes Factors are similar comparisons (nearly equivalent in some cases) and yet can give evidence for the null.
Why can a likelihood ratio not give evi... |
I have a list of data that consists of the difference between two groups' averages (list C). The two original lists consist of averages across ~20 samples per group (list A and list B). In other words: list A - list B = list C.
I want to find observations in list C such that they are significantly different from 0, whi... |
I'm wondering how to interpret residual deviance from a Poisson regression on 0 degrees of freedom?
I have a dataframe with count data on events and number of people at risk for the disease, with ten observations, representing 10 years.
This is the code I used:
p <- glm(df$n_events ~ df$year, family = "poisson", offset... |
Let $X_t$ be a stationary time series. We have computed $\rho_1 = 0.8, \rho_2 = 0.5, \rho_3 = 0.4$. If we assume that an AR(3) model without a constant is appropriate, get estimates of $\phi_1$, $\phi_2$ and $\phi_3$ using Durbin-Levinson.
We have $$Y_t=\phi_1Y_{t-1} + \phi_2Y_{t-2}+ \phi_3 Y_{t-3} + \varepsilon_t$$
Du... |
I am currently proofreading my master's thesis, but I came across a thing I wanted to make sure I am doing right. So, for my experiment, I mainly wanted to test the effect of X on Y, but effect X has 2 types. I hypothesized a difference in main-effect between these 2 types, which I tested using two-way repeated measure... |
In "An Introduction to Statistical Learning" by James, Witten, Hastie, Tibshirani on page 39 the authors explain why the Bayes error rate is greater than zero - "It is greater than zero because the classes overlap in the true population so $max_j Pr(Y=j|X=x_0)<1$ for some values of $x_0$". I don't understand this expla... |
Sliced Wasserstein distance (SWD) depends on Radon transform, which is defined as $\mathbb{R}I(t,\theta) = \int \delta(t-\theta^Tx)I(x) \, dx$. The definition of SWD, however, does not use the variable $t$ and it assumes it is zero. This means that the slicing direction always pass through zero: $$\int_{\mathbb{S}^{d-1... |
In an attempt to check my understanding, I've been attempting to tweak and reproduce the results of this analysis (data found here). In this original analysis, the author fit a linear mixed effects model to a longitudinal experiment where the residual errors within participants follow an $AR(1)$ pattern.
My goal was to... |
In brief, I have a dataset that has dubious residuals, can anyone help me diagnose them, and maybe find a better modeling solution, or just general advice?
The data has 8,419,694 rows and 5 columns. The R commands to generate the model is
form <- formula(cbind(success,failure) ~ log(Q1+1)*log(Q2+1) + control)
m <- glm(... |
I have a few parameters; each is measured imprecisely with a known but unique random
measurement error. We can assume that the error is normally distributed, with mean 0 and known variance (different for each parameter).
I have two problems
I would like to estimate an average of these parameters. I think the solution ... |
Question: I want to clarify my understanding of OLS regression using Matrix Algebra.
Let's assume we have 2 different independent variables $x_1$ and $x_2$.
Our 'model' will be the plane that lives in $\mathbb{R^3}$ that minimises the sum of squared distances between each point on the plane corresponding to observation... |
I have a quantile regression model that gives me prediction intervals (PI), and I also need to have a point estimate for all sorts of reasons (or at least something as close to a point estimate in a point-prediction model).
What I'm doing now is to just change the loss function of the model to the L2 loss so that I can... |
In Cortes et al. “Sample Selection Bias Correction Theory.” In Algorithmic Learning Theory, 5254:38–53. Lecture Notes in Computer Science. 2008., they describe how inverse probability weights can be used to correct for sampling biases when training machine learning models.
In feature/trait based machine learning models... |
Hi guys I want to calculate the pointwise mutual information for related search queries on an e-commerce website.
In order to calculate that I need to fist calculate the co occurrence matrix for the search queries.
We say an event is a set of query, user and a product that the user has searched for the query and clicke... |
If BMI is calculated from measures of patient height as well has weight, do statistical tests and resulting p values around BMI changes need adjusting for multiple comparisons? I.e. Two tests were performed 1) height and 2) weight
Is a correction needed to account for possible family wise error rates from measuring two... |
AIC is normally calculated using the maximum likelihood, so you must have some probability distribution to work with. But I saw some formulas using the sum of squared residuals or the mean absolute deviation.
From my understanding the formula using the sum of squared residuals is valid when your data is normally distri... |
I am trying to cluster a very large set of data points, of roughly (20000, 100) shape. I could not run density based DBSCAN or SpectralClustering due to the enormous amount of memory required. However when I do K-Means (with appropriate K selected with the 'elbow' method) or GMM, I see that points that are visually far... |
Background information: I am analyzing a dataset with about 120 unique animals that were radio-tracked 1-6 years. Most of them were radio-tracked for a year, but a handful of them (about 20) were radio-tracked for max 6 years. I used a generalized linear mixed model because the residuals were not normally distributed.... |
I am encountering an issue with the downsampling in the Conv2D layer when running my code on an AWS SageMaker Notebook. The code runs fine on my local machine and in Google Colab, but I am facing this specific problem in the SageMaker environment.
Here is the relevant code snippet:
# Define the model
inputs = Input(sha... |
I am using the following data
https://docs.google.com/spreadsheets/d/1ovl8oQnIi_uApVCo93BN_UOUY3F1YoKw/edit?usp=sharing&ouid=117026321594556045652&rtpof=true&sd=true
and the ClusterBootstrap package to perform hierarchical clustering to compare my treatments and sexes.
I ran the following:
library(ClusterBootstrap)
set... |
I have a very simple question for those who are familiar with scale ranges. I am interpreting a psych assessment taken for an assessment class. The assessment includes 24 different wellness scales. The scales are said to be "equalized to a range between 25-100." I'm not quite sure what this quote means. Thanks for any ... |
[![the picture is pdf and realibility formula]
1how to use the formula in picture for matlab?
1
|
As part of my work I've gathered biological data for a set of (n=3) mice under two conditions ~ treatment and control. Since there is some inherent variability in behavioral research, I collected data from each mouse under both treatment and control on multiple occasions.
For example, consider I'm looking at total dist... |
According to the article here, we have two disjoint distributions as shown below.
.
KL divergence for the distributions are
I don't understand why denominators are 0 for both.
|
I want to know how to calculate power in Cochran’s Q test. I performed an experiment designed within-participants. Participants respond to one question in each three conditions. The number of participants is 54. The result showed a significant difference between the conditions (Q(2)=11.8, p <.01). However, reviewers as... |
I was asked to find a p-value for difference in means of a given data using 1,000,000 permutations and p-value using z-score of 1,000 permutations. In the beginning I received different results and tried to explain this, thought it has to do with CI of the permutations. However, after a long search I understand it is s... |
I have a continuous variable and a factor variable, and would like to build a tensor product interaction between the two with a cubic regression spline bs="cr" and a random effect smoother bs = "re".
I understand ti(x) re-parameterised marginal smooth, and but NOT to bs = "cr".
However, when I applied s(x) + s(y) + ti(... |
I am deriving likelihoods of class membership after LDA dimensionality reduction.
I understand from ttnphns's answer to this question that the pooled covariance matrix between discriminants is the identity matrix, allowing for simplification of the multivariate normal distribution from
$$f(x|k)= \frac{1}{\sqrt{(2\pi)^k... |
I have simulated a Gaussian curve in 50 bins of data. I have then repeated this many times, drawing the amplitude of the Gaussian from a log-normal distribution. Here are a 10 realizations:
(IMAGE 1)
I actually create 10,000 realizations, I take the sum of the 50 bins (that you see above) for each of the 10,000 realiz... |
In any non-cross-sectional, prospective (whether it be longitudinal, survival, etc) study there are baseline variables which contain the status of the variable at the beginning of the study, and these remain fixed for the duration of observation. But these are distinct from other time-invariant predictors which may con... |
I conducted an experiment in which students rated sentences and I would like to fit a mixed effects model using lme4. My response variable is RATING (i.e. the judgements given by the students), the two predictors (SENTENCE_TYPE (3 levels) and WORD_ORDER (2 levels)) are categorical variables. In addition, I would like t... |
I am understanding why likelihoods are not PDFs using links such as What is the reason that a likelihood function is not a pdf. However I am getting more confused.
For instance, the likelihood of I.I.D. Normals which can be seen as
$$
\prod^N \mathcal N(x_n|\mu,\sigma^2)
=\frac{1}{Z^N}\prod
\frac{1}{2}
(X-\mu)^\top
(\... |
How can I decide on the importance of various categories in GLM?
In many cases it is recommended to use the absolute value of the standardized coefficients as a measure of importance. However, this depends on the choice of reference coefficient.
In the example below, depending on the reference level ill determine that ... |
I am performing a meta-analysis of survival outcomes (expressed as % progression-free survival or overall survival at 1/2 years) from single-arm studies. I am using R package 'meta' with function 'metaprop', following the methodology of some other meta-analyses in the field. I was pointed out that the measures of effec... |
Im using multiple linear models/regressions and wondering whats the best way to report a model in a scientific manuscript? I see so many versions. Should i go for the info in summary() or anova()? If I use anova() and get df and SSQ etc, categorical values only give one value, but if I run summary, then I get one estim... |
Suppose we have some population of individuals, each having X and Y variable. I know that in the population, most individuals have low values of X, but I want to find regression formula for low as well as for high values of X.
Consider 2 scenarios:
A) I take random sample from the population, measure X and Y, and estim... |
I am developing a prediction model for prognosis in 90 patients after an intervention. The result is almost 50% were recovered. However, this intervention consists of two different treatments. Since this is not a randomised trial, patients were applied to each treatment depending on the severity of their condition. So ... |
I have two regressions:
$y_{i} = \beta_{1} \cdot x_{i} + \beta_{0}$ and $y^{*}_{i} = \beta_{1}^{*} \cdot x_{i} + \beta^{*}_{0}$
$x_{i}$ is the same in both equations, but $\overline{y} = k \cdot \overline{y^{*}}$. In other words, we know the relationship between the means of $y_{i}$ and $y_{i}^{*}$. The question is if... |
I am wondering how to correctly interpret Kaplan Meier Curves, the log-rank test respectively. I calculated a log-rank test to compare two survival curves and got an insignificant p-value from this. My medians of the two curves are 527 (Ci.: 445, 682) and 832 (Ci.: 404, 1332).
Does the insignificant log-rank test mean ... |
I'm using the bootstrap percentile method to frequently do hypothesis testing (two-tailed test for independent sample where H0 marketing KPI of group A - marketing metric of group B = 0; H1 is ≠ 0) and build the confidence intervals to get statistical significance.
Before starting the test, I'm always asked by my stake... |
The following 2 theorems (from Bayesian Data Analytics 3rd edition by Gellman, appendix B) show proofs for why Bayesian posteriors converge to a point mass around θ0. Where θ0 is the true parameter value or the value that minimises the KL divergence from the true data generating process, f(y). In these theorems the θ... |
I have designed and run an online experiment in which we've slightly changed parts of a web page. Let's say users visit our website to place food orders and the order funnel looks like this: home --> menu --> basket --> checkout --> order. In this experiment we're making changes to the basket.
The success metric of the... |
The hazard function in survival analysis is represented as (https://in.mathworks.com/help/stats/cox-proportional-hazard-regression.html):
Here the exponential term is termed as hazard ratio as mentioned here:(https://in.mathworks.com/help/stats/cox-proportional-hazard-regression.html):
However, in some other document... |
I have a list of binary labels (0 or 1) for a number of examples and the corresponding predicted probabilities for class 1. My first goal is to estimate pearson correlation between binary labels and predicted probabilities. My second goal is to perform a two-sample independent t-test between the probabilities assigned ... |
I am trying to use PSM for program evaluation. My data is at the individual level and I would like to do the PSM at the district level (match districts with each other rather than individuals).
Based on the literature I could find online, I have done the following:
Calculate propensity score using score at the individ... |
I want to do a risk evaluation of (I'm making this up) the price of tea and the temperature. My first approach is to use a multivariate normal random number generator where I tell it the means and covariances of my two variables. I now have simulated data to assess some semblance of probability of outcomes.... or do I.... |
I'm using prophet model for one of my time series analysis. I learnt that it optimizes the parameters by MAP approach. The fundamental idea of when to use MAP vs MLE is that when we have a strong prior probability. If we fail to have a prior probability then MLE is the parameter estimation technique that is used. Havin... |
I am looking for a fast model that can fit several predictors $X$ to a non-linear response $y$.
To show examples of the non-linearity of the response, I have generated the plots below by sampling different values of only a single predictor at a time (e.g., occDens or THeatDay). These are rather extreme cases of non-lin... |
I am quite unsure how to interpret the r2c and r2m results from a linear mixed model that measures the effect of size and beta on debt ratio on some companies.
The model looks like this:
lmmodel <- lmer(Debt_ratio ~ size + Beta_value + (1|company), data = df).
Using the r.squaredGLMM function I get the following outpu... |
I am analyzing a dataset that includes sequences of patients and their associated health values, both provided by different doctors. Each sequence represents the treatment order, and the health values indicate the patients' health status as evaluated by the doctors. The higher the health value, the better the patient's... |
Say we have a Markov Decison Process (MDP) with countably infinite state space $S$, continuous action space $A$, well-defined transition matrix $T_a(s,s') = P(s'\mid s,a)$ and some stochastic policy $\pi(a\mid s) \in [0,1]$.
Question: If we observe an agent following policy $\pi$ in this system long enough, are the mea... |
I want to control for the effects of confounds in an observational study (using self-report questionnaires), however, I do not want to imply a causal relationship between my two constructs. Therefore, I am unsure if I can conduct a regression without inferring causality, and so I do not know how to control for confound... |
I'm facing a situation where I'd like to do Bayesian conjugate updating, but both the prior and the likelihood (a Student-t) can only be approximated by a finite mixture of normals. I know that a normal likelihood + mixture prior is a straightforward case (see e.g. old Persi Diaconis and Donald Ylvisaker paper) or the ... |
Is the data transformation to the uniform [0,1] always required in copula modeling, even for Archimedean copula? I have read some sources stating that the first step in copula modeling involves transforming the data to the uniform [0,1], but doesn't Archimedean copula have a special property to handle data that is not ... |
You can take the mean of any number of values, including just one value - in that case, the mean will just be equal to that value. Standardized means (standardized first moments) are always equal to zero.
You can't calculate variance (the second standardized moment) for only one value, though - you need a minimum of tw... |
I want to assess how a predictor differs in its associations with 2 different dependent measures (i.e., a continuous measure of objective memory and a categorical measure of self-rated memory). I also have some covariates I want to control for (i.e., age and gender).
The initial idea was to run OLS regressions, predict... |
This may be a dumb question but I was wondering about the appropriate chronology to
adjust model parameters in a glm when performing variable selection.
Suppose, one has a set of predictors $x_1$, $x_2$, ..., $x_n$.
The dependent variable $Y$ is a count variable, so either poisson or negative-binomial distribution are ... |
I have to predict a fault (automotive related) as much in advance as possible.
Right now I have found a solution that is somewhat satisfactory (a good number of true positives and a low number of false positives) but it doesn't feel optimal.
I know that usually this fault appears when a variable X drops (although it's ... |
Some distributions, like the Cauchy distribution, don't have a finite variance, and therefore the central limit theorem does not apply to them. If I have a thousand randomly selected observations from a Cauchy distribution, though, I have a finite sample with a finite mean and variance. Since I can calculate a mean and... |
I was wondering if there's any relation between the two metrics. Both measure the distance between distributions (or samples of them). And they seem quite similar.
The energy distance can be summarized as twice the mean of the between sample distances minus the means of the within sample distances of each sample:
$$ED(... |
I designed a simulation example to understand how splines can work in modeling non-linear functional effects of covariates in a regression framework. I generated the data from the following model:
$$
y_i = 2 + f(x_i) + \epsilon_i
$$
where $f(x)=2*
sin(x)$ and $\epsilon\sim N(0, 0.5^2)$. Then I used the B-spline design ... |
There are two things which confuse me about the Grubbs-test:
(1) The first aspect involves the two or one-sidednes of the test:
Lets assume I want to check if my W6 dice, where I expect the probabilities to be $p_i=1/6$ each, is biased. I throw the dice $n$ times and get $h_i$ as frequencies for my $m=6$ categories $i\... |
I am confused about how the above paper gets the correlation of the coefficient estimates $Cor^2(\hat{\gamma_j}, \hat{\gamma_k})$. The covariance matrix of the coefficient would be $(Z^TZ)^{-1}\sigma^2$. If the $Z_j$ and $Z_k$ are independent, so the diagonal of this matrix would be 0. But how the author can get the c... |
I used the function friedman.test to test for differences between multiple conditions and then used friedmanmc as a posthoc test. As a result, three comparisons are said to be "true" about the statistical significance, however with one p-value being 0.06.
Here are the crucial parts of my results:
alpha: 0.05
Compariso... |
I am running code in R where I repeatedly evaluate the multivariate normal density of a high-dimensional object for thousands of sequential iterations. I am using dmvnorm() to do this. My understanding is that, under the hood, dmvnorm() computes the inverse of the covariance matrix to evaluate the MVN density. But I al... |
I am having a bit of trouble understanding endogeneity.
If I have a regression specification where the "true" model looks like this:
$y = \beta_1 x + \beta_2 z + \epsilon $
And we lack data on $z$, so we run:
$y = \beta_1 x + \epsilon $
What confuses me is that this is only problematic when $ x $ and $ z $ are correlat... |
My question is essentially the same as in this thread, however the answer given wasn't especially exhaustive in that midas_r_ic_table must take the "table" argument, a table that can be generated via expand_weights_lags, another function that requires restrictions. Thus, even though midas_r_ic_table can output the mode... |
From wikipedia, the assumption we are making in multinomial logistic regression is that we take one class as "reference", say class $K$, and we assume that $\ln\left(\frac{\mathbb{P}(X=k_0)}{\mathbb{P}(X=K)}\right) = \beta_{k_0}^TX_i$. This very much feels like a GLM, though I do not know what is the distribution used ... |
ADF testing showed that the series are I(1) stationary. After taking a first difference, the ACF and PACF looks the following way, which is nothing I have came across in the literature, where mostly they only mention dampening signatures. Every single spike is significant in the ACF function and it has an oscillating p... |
How does training of word embeddings lead to the clustering of similar words in the embedding space? What causes that effect?
|
I developed a prediction model using stepAIC after univariate analysis.
glm(formula = outcome_m6 ~ age.x + lesion_size + index_cat.x + pain.x, family = binomial, data = data)
The following is the summary info of the model.
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 2.7372 587.8717 0.005 0.... |
I don't get why equation 7 is true, can someone explain me why? This is part of the proof of the invariance principle in copula theory.
|
On the Wikipedia article for exponential families the density of a distribution on a measure space $(X, \xi)$ from an exponential family is written as $$f_{\theta} \colon X \to \mathbb{R}_{\ge 0}, \qquad x \mapsto h(x) g(\theta) \exp\left( \eta(\theta) \cdot T(x) \right)$$ for $\theta \in \Theta$.
On two occasions the ... |
My typical workflow in the past, when creating machine learning models, has been to do the following:
Decide on some candidate model families for the task at hand.
Divide dataset into train and test sets. Set aside the test set, and pretend it doesn't exist.
Do some EDA on the training set.
For each model candidate, (... |
Let $X_1,X_2,\dots,X_n$ be iid Beta($\theta,\theta$) samples. Is there a UMP level $\alpha$ test of $H_0:\theta=1$ vs $H_A:\theta\neq1$?
We first test $H_0:\theta=1$ vs $H_A:\theta<1$. The likelihood ratio is
$$\lambda(X)=\frac{L(X|H_0)}{L(X|H_A)}=C\prod_{i=1}^{n}\frac{1}{x_i^{\theta_A-1}(1-x_i)^{\theta_A-1}}=C\exp\lef... |
can you guys help me solve this equation and go from :
to this one :
I have tried something but my result gives me this : p(θ, φ, z| α, β) = p(θ, φ, z, w|α, β)/p(w|α, β)
the equations are taken from this paper : https://coli-saar.github.io/cl19/materials/darling-lda.pdf
|
I'm performing a meta-analysis and am trying to extract a Cohen's $\hat{d}$ effect size measure from a paper; however the paper does not report any means or SDs. They do, however, report the results of a welch's t-test. If this were a normal two-sample t-test I could directly compute the cohen's $\hat{d}$ as $\hat{d}$ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.