instruction stringlengths 9 38.7k |
|---|
Redundancy analysis proceeds by multivariate regression of a response matrix Y on explanatory matrix X. The fitted Y values are then submitted to PCA, where the two axes of greatest explanation can be used for plotting the relationship of the axes to both response and explanatory variables.
If these two axes are orthog... |
I have been using a pre whitenening technique to remove autocorrelation from my time series model which has a variable that are autocorrelating with itself over time. But I wondered how I could mathematically prove that my data is now decorrelated and if someone has any research paper that explains it or anything simil... |
I was studying parameter estimation from Sheldon Ross' probability and statistics book. Here the task of parameter estimation is described as follows:
Is this task the same of density estimation in machine learning contexts?
Mathematics for Machine Learning book describes density estimation as follows:
My question ar... |
I apologise for no doubt a basic question that I am having difficulty intuiting. I have data with a time component that is measured at irregular intervals (but the same irregular intervals for everyone). In analysing this I could consider time as categorical (which I would normally do) but I have started using splines ... |
Usually when making a time series model the training data is prepared in a format akin to:
TimeStamp
Actual
2023-01-07 00:00
80
2023-01-07 01:00
110
2023-01-07 02:00
115
2023-01-07 03:00
95
...
That is for each time stamp we have some actual values (for the outcome and any additional variables). Bu... |
I have a vector variable with 50 time periods. I believe the vector variable changes over time but also has a static component. I am looking for a model similar to an AR(1) model that can provide me with coefficients to indicate how the variable changes over time, as well as residuals to indicate volatility over time. ... |
I want to understand the difference between PCA (principal component analysis) and NMF (non-negative matrix factorization) in terms of the explained variability.
When we apply PCA into high-dimensinal data (suppose 100) then the largest PC explain the highest axis of variability, similarily second largest PC explain th... |
I have an outlier detection code snippet in R which I need to convert into python. Folloing is the code snippet-
tso(ts(monVolumes[[repli]]$vol[which(!is.na(monVolumes[[repli]]$vol))]/10^9,frequency=1), tsmethod ="arima",types = c("LS","TC","IO","AO") ,maxit.iloop = 50, maxit.oloop = 50)), error=function(e) TRUE, final... |
I have a set of a hundred people. For each person there is a table (Time, Point X, Point Y). The number of rows in each person's table is different (about 1500-2000 rows). I want to divide these people into groups, using the data in the tables. Can you tell me what clustering algorithm I can use in this case, or what d... |
I'm working on a reliability problem, and I've run into a snag. I have a population of 300 widgets. From that population, I took a random sample of 10 and 1 turned out to be bad. What I'd like to know (and plot) is what fraction of the remaining 290 should I expect to be flawed and (separately) the probability of findi... |
I have been using logistic regression to measure the association between two variables. Let us say, we want to test the association between A and B. A is the outcome and B is the exposure. The association between A and B gives me an OR = 5, and it is significant when looking at the p-value.
A ~ B
Then I want to adjus... |
I have a piece of code that I'm adding a feature onto, and I need to test performance before and after the feature addition. So I used a test instance with a large amount of data and triggered the endpoint with and without my feature (flag on and flag off) and now I have a data set with the elapsed times as follows: (T... |
I am working on multiple regression in order to realize a marketing mix model. However I have some concerns with the procedure. First, the idea of transforme data in order to incorporate the carryover effect : the intuition behind the carryover effect is clear however from what I have understood, the way to do it is un... |
I am currently trying to estimate stock levels in a monte carlo simulation, i have certain integer sample data for product A,B,C with each having a sample size of 100. When trying to do a fit to a type of distribution, what should be the data type of sample data - continuous or discrete?
Edit:
I am trying to model the ... |
This is from an exercise found here on page 60. My question is: what is meant by $\sum\limits_{i_1=1}^D\sum\limits_{i_2=1}^{i_1}...\sum\limits_{i_M=1}^{i_{M-1}}w_{i_1i_2...i_M}x_{i_1}x_{i_2}...x_{i_M}$? For instance, for $M=3$ with $D=4$ we get $$\sum\limits_{i_1=1}^4\sum\limits_{i_2=1}^{i_1}\sum\limits_{i_3=1}^{i_2}w_... |
I have successfully trained a ResNet50V2 model. I used transfer learning on ImageNet database, and launch the inference on the unseen data. I obtain a high accuracy (>80%), but when I print the probability vector for each label, I obtain strangely high values. The sum of the elements is one, sure, but it is like the CN... |
I am beginning a project that will employ regression/covariate adjustment to estimate the average effect of treatment on the treated (ATT) and I realize that I have two questions concerning how one estimates the ATT in such a setting and how one interprets the regression output when using GLMs.
First, I am slightly con... |
I have developed the following KNN code and tested it against several datasets with >90% accuracy (the wdbc dataset from UCI for one, granted it was a categorical result), however when using the same code with the pima Indians diabetes data set I get very poor results. I am trying to impute the BMI from the adjacent co... |
How can I calculate $R^2$ for multilevel longitudinal analysis without Level-1 variance in R? One predictor is a factor (Treatment: A, B, C).
|
I am trying to plot data with a large number of points. The goal is to see the basic distribution - location, dispersion, shape - of the observations.
With a simple scatterplot, even with low alpha, the result is too visually dense:
Following this answer and suggestions here, I think switching to hexbin will work well... |
Consider a model such that the log-likelihood function of a $n$-dimensional parameter $\theta$ is given by (can be approximated by)
$$\tag{1}
L(\theta)=L(\widehat \theta) -\frac12 (\theta - \widehat \theta)^{\top}I(\widehat \theta)(\theta - \widehat \theta),
$$
where $I(\theta)$ is the observed Fisher information.
The ... |
I am looking to compare efficacy of five different types of traps (b, s, v, w, y) for catching insects. Traps where set at four different locations (hh, mc, mf, sf), each subdivided into four separate plots (1, 2, 3, 4). Each plot was sampled with the all five traps for the same time.
I am thinking to go with parametri... |
I have an object detector and now I have to decide which confidence threshold to use for each class. How can I determine what is the best confidence threshold for each class? Once decided, how can I evaluate this model at the given confidence threshold?
Everybody seems to just be using variations of AP (or mAP), which ... |
According to A.F. Zuur et al. (2009) in 'Mixed Effects Models and Extensions in Ecology with R', p. 239ff and this post: When to use an offset in a Poisson regression?, offset() can be used in Ecology when samples vary in volume (or area, depth range etc.) and are thus a (better) alternative to using the density as a r... |
Trying to understand GNNs better, I copied the code from this blog post from PyG documentation. I copied and pasted the code without modifications, which works as described in the post. It is a link prediction on the MovieLens dataset.
After the training loop with a reasonable accuracy score, I want to use the trained ... |
I have a question regarding the significance testing of an adjusted odds ratio vs. the significance testing of the adjusted difference between two proportions using a z-score. This is following the running of a logistic regression. Anecdotally the p-value obtained from testing the odds ratio is smaller, but I don't kno... |
I'm currently reproducing a method on my data set. In the literature, training and test accuracies are generally high, mostly between 90% to 99%. I get a training accuracy of 100% and a test accuracy of 100%, too. I used SVM and k-NN with same results. However, I believe that something is not right ;)
The type of data ... |
If you can explain these, it will be highly appreciated! Thanks in advance
1)Here is the code
S3 method for class 'formula' randomForest(formula, data=NULL, ..., subset, na.action=na.fail) ## Default S3 method: randomForest(x, y=NULL, xtest=NULL, ytest=NULL, ntree=500, mtry=if (!is.null(y) && !is.factor(y)) max(floor(n... |
I am performing analysis on data of ~8,000 patients who have COVID. This is my scenario. I have information of each patient being classified as either severe or non-severe in how COVID-19 affected them. I also have a set of all the mutations that each patient had.
Thus, I generated frequencies as such: Frequency = P(Ha... |
I have panel data with an ordinal outcome that was assessed by two independent reviewers - i.e. each is unaware of the others' assessment. The time points for assessment are not necessarily concurrent, and the lengths of the series are not necessarily equal. Specifically, there are 4 possible levels where the 4th level... |
I am taking a class and we are about to talk about Kalman filters and smoothing and I am trying to do some reading ahead.
On the Wikipedia page for 'Smoothing (stochastic processes)' it says 'the smoothing problem (not to be confused with smoothing in statistics, image processing and other contexts) is the problem of e... |
"Overfit" is a commonly discussed concept in ML community. However, I tend to feel that there might be abuse of using this terminology. I wonder what it means when we talk about overfit, especially when we are talking about "overfit on some data".
Specifically, I learned that the text-book definition (from Elements of ... |
I have a glmer model in R that does something similar to correct_response ~ time*kappa_score + (1|pid). Because I generally prefer plotting in python, I save model coefficients and emtrends data to disc and want to plot the interaction of time & kappa at two time points as a function of kappa.
To do this, I am currentl... |
I have taken body temperatures of 5 hens in March 2022 and body temperatures of the same hens in July 2022. I have also measured egg production, feed intake, and body weight for both months. I am trying to show that high environmental temperatures alter the hen's physiology, behavior, and egg production. Please help... |
For my thesis I am analysis habitat use of animals. I want to compare habitat selection coeficients between groups, for instance between males and females or between different places. But I do not know of a statistical method that can do this. Does anyone know? Most habitat selection functions are based on clogit. Howe... |
I have two main independent variables - gender (0/1) and extraversion (continuous) in a logit regression. In the full sample, the gender X extraversion interaction shows no statistical significance. However, when I split the sample into male vs female subgroups, extraversion is statistically significant (p<0.05) among ... |
I have a question about the Diebold-Mariano test. I have different forecasting horizons (n-ahead = 1 to 40) and different forecasting origins (26). I.e. I employ a rolling origin evaluation approach. I want to compare the forecasting results of two empirical models. Now, should I:
Compare all n-ahead=1 forecasting err... |
Every day, I keep track of the processing times for each input to my CPU and create empirical cumulative distribution functions (ECDFs) based on this data. Let's assume I have 100 observations per day and I do this process for 10 days, resulting in 10 ECDFs each of which with 100 points. Now, the challenge is to estima... |
I recently learned log-transforming a variable and it helps when our data is skewed. But, I also learned that the normality assumption of the data/variables is not required. The only requirement is the error being normally distributed. In that case, why would one log a variable? I used to think it was because the data ... |
Scenario: Rats with condition and treatments. The response measurement is a gold standard measure of the condition. However, uncommonly, rats can die during the study. That means, technically, those rats are "censored", since the study goes on.
It is not a survival study, so survival isn't the outcome. However, time is... |
I am new to probability, and I am struggling with the right language to ask or google this question.
I have a population of size $n$ and everyone is say some color. I want to verify that at least half the population is red to within some $\epsilon$ accuracy. How many members of the population do I need to query?
I am n... |
Originally asked on StackOverflow and now brought over here upon recommendation from another commenter.
I'm an undergrad writing a very simple lab report in which I'm analysing some data on observed numbers of birds at two different study sites. I'm using R 4.2.2 to create the code to run the analysis. The exact data f... |
EDIT: SOLUTION FOUND, SEE BELOW QUESTION
I'm an undergrad writing a very simple lab report in which I'm analysing some data on observed numbers of birds at two different study sites. The exact data frame I'm using was imported off an Excel spreadsheet but I'll replicate the data frame here.
Location <- c(rep("Leighton ... |
The question "Develop a hypothesis, and constructed appropriate null and alternative/experimental hypothesis.
a) Hyacinth bulbs are sold to a retailer in packs of 100 which claim to have equal numbers of bulbs producing blue and pink flowers. Test at the 10% level of significance whether the retailer has a right to com... |
In a comment on this question, the user 'probabilityislogic' says "No, not MCMC this thing! Quadrature this thing! only 2 parameters - quadrature is the "gold standard" for small dimensional posteriors, both for time and accuracy".
However I haven't been able to anything describing how to draw random variables using qu... |
Suppose I extract $n$ samples $x_i$ from a Bernoulli distribution
$$x_i \sim Bern(p)$$
Based on the samples, I want to estimate the probability that $p$ is below a certain threshold $t$
$$P(p<t \space | \space x_1,\dots,x_n)$$
How do I go about it?
|
I've looked into the Delta method and it looks tedious. I understand the computational performance gain to help when the dataset is quite large. I only have 200 individuals contributing data, so I believe that the bootstrap approach should be viable.
Could I get a pseudo-code approach to defining a power analysis funct... |
can you please explain in principal component analysis (PCA), why maximum variance means minimum information loss?
|
I have a population data.
I observe two clusters in the distribution of one continuous variable from this population.
I can easily group my data into two clusters with a threshold on this variable.
I also have a hypothesis about these two clusters such that I expect another variable X to be significantly different betw... |
Does anyone know of any references that show a proof of Minimax Lower Bound on Mean Squared Error for the average treatment effect in a Bernoulli randomized design?
Take a population of $n$ units for which we apply a treatment $Z$ drawn from a Bernoulli distribution, independently for each unit ($Z_i \sim Ber(p)$). The... |
I am analyzing adverse events rate in two groups, treatment and control group. There are about 10 different adverse events. Most of the rates are not significantly different between these two groups, however, the rates are systematically higher in the treatment group. What does that mean? Is it related to sample size?
... |
I know that we want to have uncorrelated variables at the end if we apply the PCA. But, can you please explain why we want to still have the maximum variance?
|
I want to classify 120k customers into 5-6 clusters basis the product usage, say, hundreds of product features clicked and hundreds of product pages viewed. The data will be like a customer_id has clicked feature_1: 500 times, feature_2: 300 times, etc., viewed page_1: 200 times, page_2: 300 times, and so on in a timef... |
I would like to ask it dose not require to consider the correlation of variables if using Gaussian mixture model for clustering, because covariance has already been considered in the model. So the further question is that MFA (Multivariate Factor Analysis) adds rotation based on PCA (Principal Component Analysis), whic... |
One can find the distribution of $X+Y$ where $X$ and $Y$ are independent random variables using this formula
$$f_{X+Y}(a)=\int_{-\infty}^\infty f_X(a-y) f_Y(y) dy$$
I'm wondering how to adapt this formula to find the distribution of $X-Y$. Is that correct?
$$f_{X-Y}(a)=\int_{-\infty}^\infty f_X(a+y) f_Y(-y) dy$$
|
I am having confusion on how to evaluate and compare the quality of different regression models.
For example, I understand that classification models are more straightforward to compare and evaluate as metrics such as F-Score, AUC/ROC, Confusion Matrix are all bounded between 0 and 1 .
However, in regression models, ... |
An energy-based model parametrized by $\theta$ is defined as
$$
p(x; \theta) \propto \exp(-f(x; \theta))
$$
For my specific case, it is that $f(x; A, y) = - \langle x, Ax \rangle - \langle x, y \rangle$ and $x$ is over the hypercube $\{ -1, +1 \}^N$.
I am looking for an efficient way of computing the expected value (ba... |
let's say I have a project which involves predicting the likelihood of whether a specific project will meet their sales target or not.
So, I have 2000 project records from Jan 2020 to Apr 2023. Some of this have already met their sales target in different months of 2022 and some are still in progress. So, now I am in t... |
I have time series data at weekly level with 4 levels.
Level 0 - Time Week on week
Level 1 Job type - Day,Night etc
Level 2 Location - Location to which job belongs
Level 3 County - County under which location falls
Population data is available at location level. unemployment data is available at county lev... |
Suppose we have a table of a group of friend's preferences for food. Each person will receive a unique meal. What is the approach to sample from this preference table so that each time this group visits the restaurant, we satisfy their preferences based on these probabilities? The sums of the rows add up to 1, but sinc... |
While correlating two variables, which have different number of samples in each, how can I find the df?
Eg. Sample-A has 35 observations, Sample-B has 22 observations,
How to calculate df (N)-2?
Whether 35-2 or 22-2?
|
One metric used to measure the efficiency of sampling in monte carlo sampling (given a dataset of size $n$) is the effective sample size $N_{eff}$.
*The efficiency of a sampling procedure depends partly in the effective sample size ESS for a raw set of N samples. The ESS is denoted by $N_{eff}$.
In inverse transform s... |
Assuming a sample $X_1, X_2, ..., X_n$, the sample variance is calculated as
$s^2 = \frac{1}{n-1} \sum (X_i-\bar{X})^2$
The fact that there is $n-1$ in the denominator instead of $n$ is called the Bessel correction and ensures that $s^2$ is an unbiased estimator of the variance $\sigma_X^2 = \langle X^2 \rangle -\langl... |
I am starting to conduct a meta-analysis on the effect of different raw materials on pellets quality (for bioenergy purposes) I have already the database of studies and my idea initially was to calculate standardized mean difference effect size using the value of "alternatve biomass" pellet (treatment) compared with th... |
I am running a generalised mixed effect model with a binomial response for my thesis.
The model estimated the chance an a subject in a certain group is a female. My final goals is to compare the groups by doing pairwise comparisons between the estimated marginal means.
I use hunting season as a random effect since I as... |
Good morning,
I am currently following a class on Biostatistics and am currently struggling on an exercise. I am given 2 graphs $G1$ and $G2$.
Then, assuming that $G1$ represents a NPSEM-IE, I have to either show that $G2$ also represents a NPSEM-IE or give a counter-example.
First of all I am not sure about the model ... |
I have the dataset:
structure(list(n = c(0L, 3L, 0L, 0L, 1L, 1L, 4L, 1L, 0L, 1L,
0L, 1L, 2L, 0L, 2L, 2L, 1L, 1L, 2L, 0L, 1L, 1L, 1L, 2L, 3L, 1L,
0L, 2L, 5L, 1L, 0L, 1L, 4L, 0L, 0L, 3L, 0L, 2L, 2L, 1L, 2L, 2L,
1L, 4L, 1L, 0L, 1L, 2L, 0L, 1L, 1L, 3L, 0L, 0L, 1L, 0L, 0L, 1L,
0L, 0L, 2L, 0L, 0L, 2L, 0L, 2L, 3L, 1L, 2L,... |
What is the critical value for pearson correlation df=190? The total number of samples is 192, so df is N-2 = 190. The tables have critical values for df 100, 150, 300, 500, 1000. If the df (N-2) falls in between (e.g. 145, 395, etc., which critical value should be considered to judge whether it is significant or not. ... |
I have the following model (simplified here for the description). The obsvered variable is $y_i$ which is a linear function of some random variable $\eta_i$ and a random error term $\epsilon_i$:
$y_{i} = \eta_i + \epsilon_i$
Now, $\eta_i$ is also a linear function of some random variable plus another random error term:... |
Suppose I have 2 random variables:
$X\sim \textrm{Bin}(m,p_1)$ and $Y\sim \textrm{Bin}(n,p_2).$
I want to find the distribution of $S=X-Y$ using the probability generating function ($PGF$) treating $S$ as a function of random variables.
$$G_{S}(z) = G_X(z) G_Y(1/z)$$
Using the PGF for a single binomially distributed ra... |
I'm trying to understand how a continuous Hidden Markov Model works and I am confused by the difference of the hidden states of the discrete latent variables and the mixture components in the emission probabilities. Initially, I was under the impression that the hidden states of the discrete variable corresponds to the... |
I am trying to use mahalanobis transformation on a single variable that is autocorrelating with itself in a time series that goes from week to week over several years. The mahalanobis transformation is defined as this: "If S > 0 then S^(-1) has a unique symmetric positive definite square root S^(-1/2) The Mahalanobis t... |
Suppose we observe the vector-matrix pair $(y,\mathbf{X})\in\mathbb{R}^n\times\mathbb{R}^{n\times d} $ which is linked by the observation model:
\begin{equation}
y=\mathbf{X}\theta^*+\epsilon
\end{equation}
where $\epsilon\in \mathbb{R}^n$ is the noise vector. In this setting the constrained LASSO is expressed as foll... |
The data consists of a time series with daily frequency. It is basically temperature data, and I can see a clear seasonal pattern throughout the year.
I would like to model this time series using statsmodels SARIMAX method. Since I have daily data and a yearly seasonal pattern, I chose s=365 in the seasonal order param... |
I have two different models that give me different estimates on my data. The difference is not huge, but one model significantly shrinks the estimates towards zero.
However, when I run leave-one-out out-of-sample predictive accuracy, the models perform roughly the same. Furthermore, when I calculate mean absolute error... |
Suppose I have a time series that I model with double exponential smoothing as implemented in the R package forecast via the ets function.
The formulas given for double exponential smoothing, i.e.,
$$
a_t = \alpha x_t + (1-\alpha) (a_{t-1} + b_{t-1})
$$
$$
b_t = \beta (a_t - a_{t-1}) +(1-\beta)b_{t-1}
$$
illustrate th... |
My datasets contain of 5 regional spot electricity prices and 2 fixed electricity prices. I also have a time variable going week to week from 2010 to the end of 2021. Is there any way to use the data I have available to use the Mahalanobis Transformation and have the autocorrelation from my variables removed? My goal i... |
I have two variables $Y1$ and $Y2$ and the sample size is $240$. I computed Pearson's correlation coefficient in python with pearsonr from scipy.stats. The following are my results:
Correlation coefficient = 0.0434, p-value=0.4687
The correlation coefficient indicates that there no correlation between $Y1$ and $Y2$, bu... |
If I use the Benjamini-Krieger-Yekutieli (BKY) procedure for an FDR correction, is it possible for the critical P-value returned to be greater than the desired false discovery rate? I just tried applying the BKY procedure using this Matlab code from the mass univariate ERP toobox, I set the desired FDR to 0.05 and it g... |
I want to design an RCT (randomised controlled trial) with interim analysis using the O’Brien Fleming interim stoppage criteria to control the Type I error.
I wan to have 3 interim analysis and then the final one then at each analysis I need to have to following p-values to reject $H_0$:
0.00005
0.0039
0.0184
0.0412
... |
my question is: I need to calculate the MLE for the transition probabilities of a Markok chain of order 2 ≤ k < ∞.
I've calculated the MLE for Markov chain of order 1 on a previous exercise; but I don't understand where to start for the higher order.
If someone could help me, I'll be thankful.
|
I have an experiment where 6 subjects performed 20 different lifting tasks LT with 3 different knee braces KB. The emg activity emg of the rectus femoris is the dependent variable and LT and KB are independent within factors. I am only interested in the effect of the KB on the emg activity. Additionally, for some subje... |
Let the true model be
$$
Y = X_1\beta_1 + X_2\beta_2 + u
$$
but $X_2$ is omitted, so we estimate
$$
Y = X_1\gamma_1 + e
$$
by a valid instrument $Z$, so $\gamma_1$ is the 2SLS estimator.
Assume now, $E[\pmb{z}_ie_i]=0$ and $E[e_i^2\pmb{z}_i\pmb{z}_i']=V \succcurlyeq 0$.
What is an additional condition under which GMM c... |
I am fine-tuning CamemBERT model for text classification.
I have a lot of domain specific words and a small dataset (10k sentences with 70 labels) and when I added tokens, it didn't help the model to perform better (probably because of my small dataset).
When adding tokens with the add_tokens function, can we instantia... |
I am running into difficulty determining the best way to analyze my data. So, as backgroud I have a dataset containing the variables MONTH, REGION, COUNT, and YEARS. MONTH, REGION, and YEAR and all factors with respective levels. My goal is to determine if COUNT significantly changes through the levels of YEARS. Howeve... |
I have a dataset with different measures of plants (height, size of leafs, etc.) in 5 localities. I want to check if there is a relationship between those variables with temperature and precipitation. However, the only climate data that I have is in the form of rasters at a very gross resolution, so each locality has o... |
I have been reading the book by Kimmel and Axelrod, Branching Processes in Biology to understand how branching processes are used to study tumor growth and cell mutations in biology.
I have a basic understanding of the Galton-Watson and Bellman-Harris processes and their derivation. From what I remember, the subcritica... |
My post is more about ideas than one specific approach. My problem is pretty simple, I have simulated two matrices of noisy data, basically following correlated negative binomial distributions, and my main question here is how to retrieve associations that I know are true. I am in a context of benchmark of method for m... |
I want to test my data (a distribution of saccade-amplitudes, N = 25092) for unimodality with the Hartigans Dip Test, more specific the dip.test() function in the diptest-package in R. A paper I read by Mergenthaler & Engbert (2010) used the Hartigans Dip Test for the exact same purpose, but they only gave the followin... |
Let's say an auction house holds $N$ exactly same copies of some valuable asset and holds an auction to sell them off. It knows that the attending public has some opinions about the value of this lot, which are distributed with a CDF $\Phi$.
The auction house also decides to go for the following procedure: in each case... |
I am doing my bachelor thesis and I want to analyse how capital structure affect profitability. I have panel data and I am unsure what kind of regression should I use. If I am only interested in variables and their coeficients, could I use multiple linear regression? Added a snip of how my data look.
|
I have several ranking distributions and would, for each one, like to fit a [Zipf distribution][1], and estimate the goodness of fit relative to some standard benchmark.
With the Matlab code below, I tried to do a sanity check and see if a "textbook" Zipf rank distribution passes the statistical test. Clearly something... |
Say I have three jointly Gaussian random vectors $X, Y, Z$ and I know $X \perp Z \mid Y$.
I also know that $\mathrm{Var}[Y_i \mid Z] \leq \epsilon \; (\forall i)$ for some $\epsilon > 0$.
Let's assume for simplicity that $X$ is scalar.
Using the conditional independence it follows that $$\mathrm{Var}[X \mid Y] = \mathr... |
My question is: what is the appropriate way to apply a kernel density estimator (KDE) to a 2D dataset that has a rotational symmetry?
Specifically, I have the points ($x_i$, $y_i$) and want the density $\rho(x,y)$. However, I know that for this system, $\mathrm{d}\rho(r, \theta)/\mathrm{d}\theta=0$ in polar coordinates... |
I understand that the homoscedasticity assumption is one of the Gauss Markov assumptions to get a BLUE estimator.
Why is homoscedasticity crucial for justifying the usual t and F statistics?
|
Chuck loves playing pool. He hangs out at a sleezy bar and spends all day playing. Different people drop by to play against him at different times. Everybody who beats Chuck thinks they're the best pool player in town. The problem is that they all work at different times and can't play directly against each other. How ... |
I'm approaching for the first time GLS estimators.
Suppose that $\operatorname{Var}(u|x)=\sigma^2 h(x)$, where $h(x)$ is some function of the explanatory variables that determines the heteroscedasticity. Since
variances must be positive,
$h(x)>0$ for all possible values of the independent variables.
Let's say, we don't... |
I was reading example 3.2 on stratified sampling in Sampling: Design and Analysis by Lohr where a stratified random sampling design is proposed and compared with a simple random sample one.
The point was estimating the total of the variable of interest. The simple random sample was about the 10% of the population ($n=3... |
I am trying to sample from a bivariate normal distribution given above. If the proposal distribution is q(theta|theta prime) and theta prime = theta + U, where U is uniformly distributed over [a,b], what are the conditions on a and b?
|
I am training an AI to learn to play a game through reinforcement learning. The procedure has produced a set of $N$ agents: $A_1, A_2, \ldots A_N$. I wish to estimate a skill rating $\beta_i$ for each agent $A_i$, according to the Bradley-Terry model. In the Bradley-Terry model, the probability of agent $A_i$ defeating... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.