instruction
stringlengths
9
38.7k
I am trying to compare the fit of two nested multiple-group path analysis models (Models A & B). Model A is the model that does not have any equality constraints across genders (i.e., path coefficients and correlations are freely estimated separately for males and females). Model B differs from Model A only by placing ...
Let me preface my question with a summary of my understanding of ANOVA. One-way ANOVA: When the researcher is interested in the effect of one independent variable (such as treatment) on a dependent variable. There may be other variables that affect the dep. variable, but that effect is not removed in any way in one-wa...
I am trying to write the model which is like this.Suppose you have a nested design (B nested within A), but the number of levels of B can change, depending on the level of A. In addition, the sample sizes may differ. So, for the ith level of A, there are bi levels of B, and n ij replicates in the ijth cell. This is the...
I need your help with some work I am doing. Some context first: I am writing a dissertation for my master. The topic is about perceived trust in Smart Home technology. I launched a survey with a closed ended questions for demographic data, and likert scale that asks 8 Questions on a scale of 1 to 5. I gathered 159 resp...
Suppose a random vector $(X, Y )$ has joint probability density function $f(x, y)=3y$ on the triangle bounded by the lines $y = 0, y = 1 − x$, and $y =1+ x.$ Compute $E(Y \mid X ≤ 1/2 ).$ I'm confused about how to write the range of integral for obtaining the marginal distribution of $x$. After plotting it, I found t...
The above picture is an excerpt from a paper I am reading. (Roads and Loans, Review of Financial Studies). I think based on the reporting of the results from the authors, beta1 is their interest. But my question is, why would the authors not include [500-h<pop<500+h] separately as they did with the 1000 threshold?
I'm testing a longitudinal model with two time points (X1 predicting Y2 while controlling for Y1). The standardized stability coefficient (Y2 on Y1) is b = .1. It is safe to assume that much of the residual variance is due to measurement error and the rank order stability of Y is likely much higher, though unknown. Thi...
I am trying to understand sample sizes required to estimate Cohen's k with a given precision. I am aware that the traditional confidence intervals do not achieve the nominal coverage in small samples, though I am confused by the wide range of findings regarding that. More importantly, however, I am struggling to find a...
I ran some OLS regressions with standardised coefficients, but to test the robustness of my results, I also want to run an ordinal logistic regression, as well as a Poisson model, using count data. My dependent variable is a big ranking, which explains why I can use both OLS and ordinal regression (for the count model,...
Killeen (1) published several papers about P-rep. It can be easily computed from a p-value (for a two-group comparison) and has an easy interpretation. It is the estimated probability that future repeat experiments (same sample size, same assumptions, only random sampling differs) will result in a difference that goes ...
I forecasted a combined model with using full data set. Problem is when I use test data set my accuracy coding works fine but when I use the same for my combined data set with full data set it does not work. Coding: combo.model.full <- yosemite.new %>% model(ets=ETS(yosemite1), lets=ETS(log(yosemite1)), ...
Low Blood Pressure (BP), below a threshold, say 90 mmHg, is associated with worse outcomes in surgery. The depth (how low the BP gets) and the time spent at that depth are both associated with worse outcomes. The association between BP and outcome is also non-linear. I have time spent at each BP value < 90 for each p...
I have just developed a formula (of which I could give the different elements which compose it if need be) allowing to quantify the tolerance of an individual to the exposure. This gives me an index that can fluctuate from -1 to 1 (-1 The individual is not tolerant at all, 1 he is very tolerant, 0 there is no effect of...
Suppose that you have a rectangle in a 2D space. I'm looking for the probability of being in this rectangle, knowing only the probability of being on one side or the other of each line extending each edge of the rectangle, shown by the colored probabilities in the following figure. Is it possible to get the probabilit...
I have a network meta-analysis where all treatment are compared to placebo. Obviously this is not properly a disconected network but consistency cannot be assessed. Is it problematic?
I'm not a statistician, but I do have a basic understanding of biostatistics in the context of medicine and clinical trials. However, recently I came across a trial that is using a statistical method that I am very unfamiliar with and was hoping someone could help. Here is the study. It's in the "Statistical Analysis" ...
I need to run an analysis of efficiency of automated recommendations for call-centre agents on how to handle customer support tickets. It works like that: A ticket get 0, 1 or more recommendations based on the rules that use ticket's or customer's attributes as input. Different recommendations may be correlated to v...
Let $U$ be uniformly distributed on the interval $(0, 2)$ and let $V$ be an independent random variable which has a discrete uniform distribution on ${0, 1, . . . , n}$. i.e. $P\{V = i\} =\frac{1}{n + 1}$ for $i = 0, 1, . . . , n.$ Find the cumulative distribution function of $X = U + V$. I did the following, how do ...
I had a few classes related to time-series econometrics, however most were theory heavy. I would like to practice this, so I will try to analyse few stock prices, however I am not fully sure about the steps, so would appreciate some advice. I will use intraday stock data (very high frequency for a 6-7 year time-period,...
I have some code that I'm trying to convert from working with floats to numpy arrays for performance reasons. I have it down to one last function, which is below and requires the mvn.mvndst function from scipy.stats. After some digging, it looks like the function is written in Fortran (https://github.com/scipy/scipy/...
I've come across several approximations for Mills ratio, but I haven't found any good ones for the Inverse Mills ratio. Is there any known closed-form approximation for the Inverse Mills ratio (link) specifically for a normal random variable, denoted as $\frac{\phi(x)}{\Phi(x)}$ for "$x>0$"? (ratio of normal pdf to nor...
We are trying to calculate a CI around an inverse proportion. The sample is women who have had one caesarean section in the past and are now having a normal (vaginal) birth of another baby The binomial outcome is a ruptured uterus during the second birth (yes/no) The observed proportion is 0.5% (78 ruptures of sample s...
I am reading the second edition of Crawley's Statistics: An Introduction Using R and in the Pseudoreplication section of chapter 1 (pg. 15), he provides the following experiment structure: "There are 20 plots, 10 sprayed and 10 not sprayed. [...] In fact there are 10 replicates in this experiment. There are 10 sprayed...
I'm running this on databricks, using python, spark, pipeline, mlflow, etc. Can use whichever library I need to though I have a simple Linear Regression script. I separately have a Random Forest script. The data set has 10 features and 1 label to predict. All columns are normalized doubles. assembler = VectorAssembler(...
I want to classify diabetic retinopathy grades (normal, mild, moderate, severe, PDR) using SVM. But the problem is i don't know which type of svm should i use, because i extract three lession features (MA, HM, and EX), and sometimes one image can contain all of these lession but just belong to one class (ex:severe). Ca...
El Karoui and Purdom wrote a mathematically solid paper on how the bootstrap as a general resampling technique fails in high dimensions: https://arxiv.org/abs/1608.00696. I think it is a very important piece of work and I wonder why it has so few citations. This led me to imagine that perhaps most practitioners are eit...
I've found a pretty interesting visualization in the article "High monkeypox vaccine acceptance among male users of smartphone-based online gay-dating apps in Europe, 30 July to 12 August 2022" (link) with visualized data according vaccination acceptance among survey participants by country, subregion and with calculat...
Consider a process that takes state $X_{t-1}$ to $X_t$. Let us also assume that the process is Markovian. Therefore, $$P(X_t | X_{t-1}, X_{t-2}, X_{t-3}, ...) = P(X_t | X_{t-1}).$$ My question is whether the Markovian property also implies $$P(X_t | X_{t-1}, X_{t+n}) = P(X_t | X_{t-1})$$ where $n>0$?
I am interested in using Krippendorff's Alpha for a dataset containing a large number of raters to assess the reliability of using an assessment tool for case studies, which contains 8 items with ordinal (yes / no) responses (e.g., does this individual meet x criteria?). Typically I have seen kalpha being used to asses...
I have been reading several articles on the disaggregation of between and within effects in mixed models, such as Curran and Bauer's (2011) excellent article in which they state "More careful work is needed to understand how zbi and zwti can best be obtained when the TVC is binary or ordinal" where in this case zbi ref...
When using a regressor ("generated regressor") that is generated in a first-stage equation and used in a second-stage equation, then standard errors will be understated (here is a readable introduction, https://onlinelibrary.wiley.com/doi/full/10.1111/1475-679X.12470). This is because the standard error bias associated...
I have recently been reading more about causal inference so am trying to conceptually think about model specification in more detail. From reading (e.g. this paper), we adjust for confounders which, by definition, cause both the independent and dependent variable. But how does adjusting for only variables associated wi...
In the code shown at the bottom of this post, I plot survival curves for the lung dataset from the survival package using a fitted exponential model, using the K-M nonparametric model, and run/show simulations using the exponential model. I use bootstrapping, resampling from the original data with replacement to create...
When doing logistic regression with binary cross entropy (or equivalently cross entropy) loss, the model tries to approximate conditional probabilities as $$ P(X\mid C) = \sigma(m(C)), $$ where $X$ is an event, $C$ is some condition, $m$ is our (in case of logistic regression linear) model, and $\sigma(y) = \frac{1}{1+...
Following the same m3 model approach proposed by Gavin Simpson on my data, I compared an ordered factor model (m3_of) to a non-ordered factor model (m3). The global shapes trend to be similar; however the m3_of plot displays a marked wigglyness for both groups. Question 1: How to explain this difference of wigglyness b...
I am doing an observational study looking at the association between a baseline exposure (binary) and the first instance of an abnormal blood test result (binary) among people with serial blood tests. So far I have used Cox regression. However, the problem is that the baseline exposure is associated with the number of ...
I would like to get your opinion/feedback about the following problem: I have repeated measures "$y$" that are repeated for each age (e.g., 30:90), and each age is repeated for each time (2000:2010). y x t value# 30 2000 value# 31 2000 ... ... .... value# 30 2010 value# 31 2010 ... ... .... I noti...
If I have a piecewise distribution with density $f$ on $[0,1)$ so that $f=f_1$ on $[0,0.5)$ and $f=f_2$ on $[0.5,1)$, with both $f_1$ and $f_2$ densities, is it necessarily a mixture distribution? My reasoning is that we can always introduce a latent variable $z$ taking values in $[0,1)$ uniformly and then choose eithe...
I have been searching for this, but I couldn't find a salutation. I know we could calculate at what values the quantiles are of a violin plot. But I was wondering how we could calculate the width of a violin plot at a given value y. Here is some reproducible code: set.seed(7) df = data.frame(y = rnorm(100, 2, 1)) libr...
I'm dealing with a population where there are $5$ categories $A, B, C, D, E$ and I would like to make the claim that $A$ is the most common category in the population (i.e., the most frequent). I thought about the following, use a proportion difference test (e.g., z-test) $4$ times to assure that the proportion of $A$ ...
I'm following the Bi-Encoder architecture (see here) in order to build a dense retrieval (search) system. Formally, my network encodes a query q and an item description d based on fixed representations from Sentence Transformers denoted as SBERT(q) and SBERT(d), respectively. It then learns a transformation (the 'pooli...
I have a 2-step ML pipeline (classification, binary, balanced dataset, about 300 samples and tens of thousands of features): step one I train 7 algorithms (XGB, SVM etc.) and step two I train a RFC on these predictions. I do that with 5x5 nested cross-validation, without repeat. Now, I have 23 different targets (0/1 la...
I'm having trouble understanding how the probability of belonging to each class is being calculated. Appreciate it if someone could help me out! Assuming the dependent variable with 3 ordinal classes (low, medium, high). And assume for simplicity, the coefficients for a model with 2 predictors: b1 : 2 b2 : -3 And int...
I'm not sure how to 'responsibly' balance my model to account for this. I could predict a probability and give that to the business ('predict_proba' in SKlearn) but experience in the past has thought me that I should be the one (they put it on 0.9 because they felt more safe that way). I'm considering resampling the tr...
I am calculating a multiple regression with a sample of 128 and I was wondering, what distribution would best describe this residuals qq plot? It seems like a a Poisson-distribution to me, is it correct? Should I then proceed with counting a Poisson-regression model to adress this violation of normal distribution? Than...
Which regularisation method L2 or L1 gives a lower variance? $ f(w) = \sum (\hat{y}_i - y_i)^2 + \sum || \beta ||^2 \rightarrow L2 $ $ f(w) = \sum (\hat{y}_i - y_i)^2 + \sum || \beta || \rightarrow L1 $ Is it correct to say that L2 regularisation would give a lower variance in the resulting model as it penalises the we...
The reference papers for marginal structural models only talked about handling monotone censoring using IPCW. How to deal with intermittent missing visits? Does it make sense to use available visits only and multiplying the weights of available visits?
I found this discussion very helpful for the analysis I need to conduct for my thesis: In using the cbind() function in R for a logistic regression on a $2 \times 2$ table, what is the explicit functional form of the regression equation? I am not sure if I understand it right, that the multiple trials that are mentione...
A company has been collecting water chemistry data annually for 20+ years to monitor water quality. Now they're wondering if they can decrease their sampling interval to once every 2 or 3 years and still detect exceedances when they occur. What would be the best approach to assess this? My first instinct is to use a Mo...
Assume that I want to efficiently draw samples from a (for simplicity bivariate) joint distribution $p(x,y)$, with $x \in \mathbb{R}$ and $y \in \mathbb{R}$. I don't have a closed-form expression for $p(x,y)$, but I can prescribe a number of features and limits that should describe it fully. As a concrete example, cons...
I'm interested in exploring experiment design and analysis therein through the Bayesian lens. I haven't seen much content here; it would seem that Bayesians are more concentrated in analysis of observation studies rather than RCT. Could any books, courses, YT playlists be recommended that discuss experiment design thro...
Dear Cross Validated community, We are working on a uncertainty & sensitivity analysis using a mathematical optimization model. More specifically, we have a set of uncertain parameters, which follow specific probability distributions and we sample them to perform Monte Carlo simulations with our model. For the sensitiv...
I have data for 72 employees, each of whom have between 10-30 evaluations from various supervisors. Each evaluation is anonymized, so we don't know who gave each evaluation, and we also can't be sure that multiple evaluations aren't written by the same person over different time frames. If I group my employees into two...
I've this kind of equation that I'd like to estimate using R : $t_i = \alpha_1 f(x_{1i}, y_{1i})+\alpha_2 f(x_{2i},y_{2i})+\epsilon_i$. $t_i \in [0,1]$. $\alpha_1$ and $\alpha_2$ are known. I observe $x_{1i}, x_{2i}, y_{1i}$ and $y_{2i}$. I'm not sure of the best way to estimate this model. I thought about generalized ...
What is the recommended approach for selecting lag values in a univariate time series forecasting problem, specifically for input variables in a feedforward neural network (FFNN)? In my research project, I am analyzing monthly electricity consumption data using data mining techniques, and I obtained lag values based on...
I have data that is the result of measurements $f(x)$ at points $x$. These measurements fluctuate (call it noise), also differently for each $x$ so we have that $\sigma(x)$ are the fluctuations. By measuring several times at each $x$ I can estimate the fluctuations as well as $f$ (which would be the average). So then I...
I have two sets of population estimates, one of whom is eligible for a program and one who is not. I don’t have specific observations from these populations, just estimates of population characteristics. For example, in the eligible=0 population, I have the proportion belonging to several age groups, proportion belongi...
Can someone explain what does the term I(y=k) stand for in the equation for p_mk ?
I was reading Reverse Engineering a Neural Network's Clever Solution to Binary Addition. Without repeating the whole article, it seems the network figured out addition was already a part of its toolset (maybe the addition in x*W + B?), so instead of coming up with an logic gate-based adder like a human might it "cheate...
I want to fit an ARIMA(1,1,0)(0,1,1)[12] with drift, with an additionnal MA at lag 3 as when I have fitted an ARIMA(1,1,0)(0,1,1)[12] with drift model, I have seen there was still autocorrelation in my residuals at lag 3. Therefore I am trying to add an additional MA or AR term at lag 3. However, the arima function in ...
I used emmeans functions (with help from this site) to obtain pairwise comparisons for different levels of variables in a model with interactions. Interpreting an interaction term in the context of study The model int was estimated withlrm() from the rms package. The plot below was plotted with emmip(int, ses~fam, type...
I have a dataset with many observations with NA's in one variable (almost a third of them). Actually, is a numerical variable with some values being zero (these zeroes mean 'no data') My options: Try to impute: Due to the characteristic of the data, I suspect imputation would be inaccurate and should create too much n...
Dear members of the statistics forum, I am interested in a process that selects genes from a gene pool and divides them into two groups according to the treatment. My objective is to estimate the "real" read count of each gene. in order to identify the most enriched gene group per treatment. My model accounts for an u...
I am having a trouble understanding how to answer the following question and what method to use. The final answer is $415800$ Suppose there are 4 committees A, B, C, and D. 11 candidates are randomly assigned to these 4 committees. Each candidate can only be assigned to 1 committee. In how many ways can we randomly a...
I have a task where I need to perform ROC analysis and measure the AUC of the ROC curve, but the data is image data. I have pairs of images (which contain real-valued pixels) and masks (which contain 0 or 1, if the pixel is negative or positive, respectively). I have measured AUC using standard tools (sklearn), however...
I am doing a meta-analysis where my size effect is the odds ratio. There is a study with multiple odds ratios for different times. For example: I want the odds ratio for positive UDS for the intake of amphetamines My end goal is to calculate to combine the odds ratio over various times, to calculate an odds ratio that ...
I've been working to better understand GLS by manually fitting the parameters in R. In the example below I fit the coefs of a GLS from the nlme package in R. However, I'm trying now to calculate the standard errors on those coefs. I don't understand how the variance-covariance matrix for a fitted GLS model is calculate...
I know that the reason we use multi-head attention in transformers instead of only single head is to attend to different parts of the input instead of just only one part. In attention we use softmax function to give attention weights to every input token. We can't attend to different parts of the input using one attent...
I am running vif(model) to identify multicollinearity between predictor variables in the model. Is there a rule of thumb on the gvif value that indicates presence of multicollinear variables?
I'm sending a number of DNA test kits to customers each day. The customers swab their cheeks to gather DNA and send back the kit for processing. I have data about each test kit that has been sent for the past two years. The data includes the date it was sent, the state that it was sent to, and the date that it was re...
Are there any known statistical methods or laws that can be applied towards the detection of categorical data masquerading as continuous? Categorical data can masquerade (or be "obfuscated" in computer parlance) as continuous by a simple replacement scheme such as: Original data (categorical): A, B, B, B, A, C Replace...
1.How to prove the asymptotic distribution formula? 2.How to derive Ljung Box statistic test?
Is there a way to get an estimate of good scaling parameters (namely mean and variance) for a Gaussian Process kernel serving as a surrogate model to a Reinforcement Learning reward function for optimization? Considering the reward function to be a scalar objective of 3 input variables, each having box constraints i.e....
In a multiple linear regression, what is the reason for the most predictors to be non-significant ($p > 0.05$), but ANOVA shows significances? What could be some of the reasons? Or a calculation error? Any help is appreciated. I am trying to explain why majority of the coefficients are not significant, however obtaine...
For many generalized linear models (GLMs), the effect of changing a predictor $x_m \in X$ on the predicted mean outcome $E[\hat{y}|X]$ depends on the values of other predictors in the model $x_{n \neq m} \in X$. This is true even when we assume additivity of the linear predictor. My understanding is that this is becaus...
In the original paper on Isolation Forest by Liu, Ting and Zhou, the authors cite some problems in creating anomaly scores out of the path length $h(x)$ of a point $x$ in an iTree. The text reads as follows (section 2, following definition of "Path Length") - The difficulty in deriving such a score from $h(x)$ is that...
I find some references and discussion state that Chi-square test used for comparison analysis, but some said for correlation also. I am confused, so Chi-square is test for correlation or comparison? or both? If both, when we used it for correlation or for comparison beside of based on hypothesis (association or compari...
I divided participants into different pairs according to their language proficiency score, and now I ask participants in different pairs to have conversations, so every participant now have a pair ID (e.g., pair 1, 2, 3...). I want to investigate how the pause frequency in participants' individual speech in the convers...
I'm running an ab test for an on-demand service where one group receives compensation in response to poor service, while the other group does not. The hypothesis is that "compensating for poor experience has a measurable effect on reorder rate". However, I don't know how to control for the variation that not all custom...
Mathematically what is the expression that is close to a 10 Day Exponential moving average (span of 10 means decay factor of 0.818181) that is created using averaging over Simple moving averages. E.g. 10D Exponential average is close to weighted average of (3D,5D,7D,10D) Simple moving averages. Context for this : I wan...
I have plotted the qqplot of the residuals that my model generates with the python module statsmodel sm.qqplot(data, line ='r') and it looks like this The points are placed on a straight line but the sample quantiles do not correspond to the theoretical quantiles expected from a normal distribution. What does it mean...
A mountain climber has been lost on a mountain on either slope A or slope B. The head of the rescue mission believes that the mountain climber is on A with probability 0.6. Suppose she has 12 rescue parties which are all equally competent and will locate the climber with a probability .3 if they are on the correct slop...
I am trying to predict the revenues of a portfolio of items. I want to simulate the revenues in a particular market situation in which they might increase. Each item's revenues is made up of 3 components: Revenues per item = constant * percentage_increase_for_A(item) * A(item) + constant * percentage_increase_for_B(i...
I am looking to perform Two way Anova on the following dataset : YEAR TOURNAMENT WINNER RUNNER-UP 2023 Australian Open Novak Djokovic Stefanos Tsitsipas 2022 U.S. Open Carlos Alcaraz Casper Rudd 2022 Wimbledon Novak Djokovic Nick Kyrgios 2022 ...
I'm running MICE for 100 imputations with big data (~600k rows). Due to storage restrictions at work (which I am not permitted to change), I can't save all 100 imputations in one go, and I'd hit memory issues in R anyway. I am thinking of running mice with 1 imputation (m = 1), then saving that imputation to Excel, del...
All I am given is the following information and asked to find the sample size. I just cannot see where to start. I am wondering if some of the info on the document got cut off because I have no idea >lm(formula = sales ~ price + advert + I(advert^2), data = Andy) Coefficients: Estimate Std. Error t value Pr(>|t|) (Inte...
In some sources 1 one reads that the frailty model expands on the cox proportional hazards model $$h_i(t|x_i)=h_0(t)\exp(\beta x_i)$$ by adding a frailty term $z$ like so $$h_i(t|x_i,z_i)=h_0(t)\exp(\beta x_i+z_i)$$ In other sources I see frailty figuring as a factor “acting multiplicatively” 2 on the baseline hazard f...
I have the following problem: I have a timeseries with the prices for a few futures, which is non-stationary (according to ADF test). If I apply first difference of logs, ADF shows stationarity. But I also have one column in timeseries with news sentiment scores (from -1 to 1), and it seems like I can't apply first dif...
In the attention mechanism, as described in the paper "Attention is all you need", normally the model learns weights $W_Q$ and $W_K$, i.e. the Queries and the Keys. The input of the attention layer is multiplied with both weights to get the Queries and Keys \begin{equation} Q = W_Q^TX~\text{and}~K = W_K^TX \end{equatio...
In the paper Isolation-based Anomaly Detection by Liu, Ting and Zhou, figure 3a compares the density and path length for a cluster of anomalies. Figure 3a along with the sub-text has been provided as image below (figure 3b has not been provided). I have confusion regarding the symbols and the interpretation of this f...
I'm conducting a randomized 2x2 cross-over trial of 8 participants measuring the effect of a specific diet (intervention) vs normal diet (control) on the number of sleep hours. The study design includes one week periods: run-in, intervention/control, washout, intervention/control, and then washout. Thus in total 5 week...
How is the VC dimension of an SVM with Radial basis function as kernel bounded although it is projected to an infinite dimension?
I am trying to implement the Louvain algorithm in PySpark. An important part of the algorithm involves calculating the modularity gain of taking node $i$ out of its current community $C_0$ and placing it in a neighboring community $C_1$. On page four of the original paper, the authors describe the modularity gain as a ...
Here're the results of a multi-variable regression analysis run by Stata to test the effects of the three factors on the price elasticity of supply, which is the dependent variable. The coefficients appear to be realistic and the "Prob>F" value seems acceptable. As this is an interdisplinary study and I don't have a so...
I'm finding what seems like an absurd number of default center points with the following Response Surface DoE setup in Minitab. Can someone please help me understand why they're needed and if I can reduce the number of center points without losing too much information: Minitab DoE: Response Surface, Central Composite, ...
Let $x$ and $y$ be correlated negative binomial distributions, $x\sim~NB(p_1,n_1)$ and $y\sim~NB(p_2,n_2)$ respectively with correlation $\rho$. Can we derive their joint distribution analytically? Subsequently, can also we do so for 2 correlated binomial distributions?
I am following Introduction to Linear Regression Analysis by Montgomery, Peck Vining and on p. 430 they present the likelihood ratio test. It says that $$ \text{LR} = 2 \left[\ln(L(\text{FM})) - \ln(L(\text{RM})) \right] $$ The formula then claims that this is equal to: $$ LR = 2 \left[ \left (\sum_{i=1}^n y_i \ln(\hat...
Suppose a linear regression setting with $n$ observations and $p$ explanatory variables. The hypothesis testing $H_{0}: \beta_{j} = 0$ vs $H_{1}: \beta_{j} \ne 0$ has the following test statistic at the level of $\alpha$: $$ F_{calc} = \frac{\beta_{j}^2}{\text{Var}[\beta_{j}]} \sim F_{(1,n-[p+1])} $$ Then, for the same...
A random variable $Z$ is obtained as follows. Let $X$ follow $U(0, 1)$, and $Y$ given $X = x$ be Bernoulli with probability of success $x$. If $Y = 1, Z$ is defined to be $X$. Otherwise, the experiment is repeated until a pair $(X, Y )$ with $Y = 1$ is obtained. Then, find the probability density function of $Z$ on $(...
For more on conditional disintegration, cf. e.g. the references [1] [2], or these questions [a] [b] on math stackexchange. Question: For the von-Mises Fisher distribution, is there a conditional disintegration via antipodal pairs of points? I.e. so each conditional distribution would be a Bernoulli and have as values ...