instruction
stringlengths
9
38.7k
I am doing an analysis and want to be sure I'm going about it in the correct way. I'm not going to give real examples, but will just make up variables. Let's say each participant answers 100 trivia questions in a random order. These trivia questions come from five categories (20 each). I want to know if people tend to ...
Say for the sake of the argument I have a 2x2x2 ANOVA on factors A, B, and C with levels (A1, A2), (B1, B2), and (C1, C2). Also, the design is fully balanced. I have the following 8 groupings as a result: (A1, B1, C1) = T1 (A1, B1, C2) = T2 (A1, B2, C1) = T3 (A1, B2, C2) = T4 (A2, B1, C1) = T5 (A2, B1, C2) = T6 (A2, B...
I know that the common explanation for this is the Central Limit Theorem being applicable to most probability distributions. However, I can't seem to apply the Central Limit Theorem to simple examples like: if I were to sample the height of everyone in the world and plotted them on a histogram, it would look close to a...
I have a regression model with a continuous response variable called Variation and 3 Categorical predictors called Thickness(0.040 or 0.074), Sequence(1 or 2), and Speed(50 and 70). The lower values are the reference variables. I'm looking at the relationships between the predictors and the response. I have output from...
I conducted a study to compare the effectiveness of different fungicides in controlling a plant disease. I assessed disease severity as the response variable, which is measured on a 0-5 scale. A rating of 0 indicates healthy plants, while ratings 1-5 correspond to increasing levels of infection (1: less than 20%, 5: gr...
I have predictions and actuals for a dataset. There is a categorical feature in this dataset. Call it state. I want to know the average MAE at the state level with confidence intervals. (Like a Mean MAE, not just MAE of the entire dataset) I'm assuming the answer involves bootstrapping, but my question is which level(s...
I need help to interpret and understand contrasts of interaction effects for one of my models. I have a gls model with an interaction effect as follows: mod<-gls(Y~ A*B, dat, weights = varIdent(form = ~ 1 | A * B)) When I run anova I get a significant interaction effect as follows: > Anova(mod) # Analysis of variance ...
There is a board game, The Castles of Burgundy, which has a supply of 40 "black market" tiles, of which 16 are beige, 8 green, 2 gray, 6 blue, 6 yellow, and 2 burgundy. The game takes place over five phases. Each phase, 4/6/8 tiles are randomly selected from these tiles in 2/3/4 player games. In total, players will see...
I am currently working with a multiple regression with three parameters; $\beta_1, \beta_2, \beta_3$. The individual T-test for each parameter contains large p values (>.05) while the p-value of the F-test for the null hypothesis that all coefficients are 0 is quiet small (approx. 0). Is this suggestive of the issue su...
I'm training a set of models (random forest/XGBoost) for an ordinal regression task. I'm (tentatively) planning to use Shapley values to infer feature performance. I also have some metadata that my model is not trained on--imagine features which are available for curated data, but expensive/infeasible to obtain for rea...
Let's say that I have data in the 10s-100s of millions of observations. This data is clustered across hundreds, thousands, or even millions of entities (in a B2B context, these might be corporate customers, or individual store locations). Using specialized packages like R's Fixest, it is possible for me to deploy a fix...
I struggle defining the experiment, the sample space and the events. For instance, I have two ways of defining the following: I have the experiment of tossing a coin twice, my sample space would be {HH, HT, TH, TT}. If I have two events, A: Getting H in the first toss, B:getting H in the second toss. Then A={HH, HT} a...
To interpret a regression interaction simple slopes plot comparing low, mean, and high levels off the moderator: Does where the line intersect matter? If lines intersect closer to 0 on the x axis do you interpret this as an interaction pattern among participants with lower scores on the predictor variable (x)?
In the article, LSGan's optimal discriminator is as follow. Where can I find the detailed explanation of how optimal discriminator equation is obtained?
tl;dr: I have N weighted coins, each of which has been flipped some number of times (n_i), and for which I've measured the probability of a heads (p_i). How do I determine whether my largest p_i is significant? Example: I have 3 coins as follows: Coin number Number of flips p(heads) 1 100 0.72 2 200 0.51 3 ...
I have a matched paired dataset (student survey before a topic was taught and student survey after the same topic was taught) where I compare the means of their answers (answers are given in Likert scales). I use the Wilcoxon signed rank test (as opposed to the rank sum test) to compare scores of individual questions t...
I created a survey to measure student perspectives on different subjects in Higher Education. In the survey, the students are asked what subjects they have experience with, and they will only be asked questions on the subjects that they selected. For all subjects, there is an identical series of likert scale questions ...
I have some questions regarding best practices in g-computation post-matching in the standard case of a dichotomous treatment and a continuous outcome. When defining the regression model with the matched data, I've read the following from the MatchIt vignette in R: (I didn't use propensity scores for the problem I'm wo...
I am running a latent basis model with 5 time points. The model has 5 measures of 5 items that make a factor. I ran the model with the folloing code(Mplus) ; i s | AE1@0 AE2* AE3* AE4* AE5@1; the unstandardized slope estimates are; here, AE3 shows a drop but it is unsignificant, I guess due to its large standardize...
I was working on a project where we're using several multivariate time series and stacking them vertically (i.e. concatenating them) and passing them to some packages that can do some kind of prediction [1][2]. They call it "Global Models". The concept of multivariate time series is not new to me, but I would like to k...
Why do some studies that utilize the Cox Proportional Hazards Model analysis use relative risks, others used odds ratios, and others used hazard ratios?
I have just started to deal with causality. I mostly use DoWhy for this. Earlier, I read about various statistical algorithms based on various linear models, such as DoWhy's estimation method. If I only look at this method, how does it know more than other statistical tools? What is the causality in this? This question...
Following this question:Why the Pitman estimator is given by the sample mean of X and Y?. Let $X_1, \dots ,X_n$ be i.i.d. random variables having distribution $P(X_j = \theta) = P(X_j = θ + 1) =1/2,$ where $\theta\in Z$ is an integer valued unknown location parameter. Find the minimum risk location equivariant estimato...
I am new to NLP and I'm not fully grasping how word2vec works. I understand that it aims to predict a word given its context or a context given a word but I'm not sure how the initial vector values for words are assigned?....also, once assigned, how/why are the vectors then adjusted in the algorithm?
I am wondering in the research of Bayesian optimization and Gaussian process regression how the function error could be rigorously quantified. I am aware that in general either of the following assumptions would be made to quantify the regression error: (1) the true function is a sample from the GP prior (2) the true f...
Background I am investigating Best-Worst Scaling analysis methods. For those not familiar a survey is presented showing some attributes and the respondent is asked to score 2 of the shown attributes, one as best and one as worst. A fractional factorial design (BIBD) is used to compute the sets of attributes to be shown...
I am following the logistic regression predictive modeling example found here, chapter 10. To the pred object the variable capital_gain is set, I assume, as a predictor variable. The response variable is income and its levels are "<=50k" and ">50k". If I remove capital_gain from the pred object, the accuracy(pred, inco...
Can you fine tune instruction fine tuned LLM like (Falcon 7B instruct and Falcon 40B instruct)? I have seen tutorials where the base models are fine tuned but can't find any which fine tune the instruct models. Is it recommended or even worth fine-tuning models which have been already instruction fine tuned? If so, are...
I am intending to conduct interrupted time series analysis of a public health intervention applied nationally. Since the intervention is national, I'm not intending to do a controlled ITS unless I can generate suitable synthetic controls. However, the magnitude of the intervention (funding allocated) varies between reg...
I am working on estimating the causal effect of a binary treatment T on a binary outcome y, from observational data. I have access to features X and W, which presumably have affected y and T, respectably. In terms of methods, I'm looking at double machine learning (DML), or doubly robust estimation (DRE). From what I'v...
I am trying to implement a zero inflated model in INLA. I know a basic zero inflated Poisson can be implemented with "zeroinflatedpoisson1" as the family argument as described here (where I also took the example below). However, this paper describes a different approach where the two likelihoods are written into the IN...
Let Y be a vector of observations. A Gaussian Mixure Model (GMM) is fit to the dataset. The distribution can appear unsymmetrical, with different thickness of tails in both sides. What is the best way to find an optimal estimation for a confidence interval (e.g. $1-\alpha$)? The goal is to identify the less probable ob...
I am trying to perform a couple of statistical tests to determine significance from categorical variables (e.g., treatment, station) The experiment is microcosms with freshwater amended 2 different types of oil to measure degradation. 3 different stations with 3 different salinities and temperatures were set up and in ...
In models with a discrete dependent variable and/or linear models with non-linear right-hand specifications (interactions, polynomials, etc.), interpreting the association between Y and BX becomes much less straightforward. In a standard OLS setup, the OLS coefficient represents the marginal effect, whereas in non-line...
Background/Context: Over the last year ServiceY has slowly rolled out across the city. The city is divided into geographic divisions of different sizes which all have different levels of demand for ServiceY. ServiceY currently operates in 15/25 of the city's divisions. ServiceY is planning to expand into the remainin...
this is just a little curiosity of mine, but has anyone heard of some simple model like Laplace's law of succession, however for ordinal RVs instead of a binomial? Specifically, I'm thinking about this in the context of e.g. product reviews online: is there some nice simple rule of thumb for determining whether it's li...
I want to estimate $p(Q|x)$. I have an observed distribution for $p(x)$ - i.e. samples, and I can compute $p(x|Q)$ using MC simulation (not analytically). I have no belief about $p(Q)$ so we can make it uniform. We can use Bayes rule to define $$ p(Q|x) = \frac{p(x|Q)~p(Q)}{p(x)} $$ So, I can sample from $p(Q)$ and run...
The SCAD penalty $p(x | \lambda, \gamma)$ from https://myweb.uiowa.edu/pbreheny/7600/s16/notes/2-29.pdf or the paper "Variable Selection via Nonconcave Penalized Likelihood and its Oracle Properties" is in the form of $$p(x | \lambda, \gamma) = \begin{cases} \lambda |x|\ \ \ \ \mathrm{if}\ |x|\leq \lambda,\\ \frac{2 \g...
Below I add my model comparison between a random intercept and random slope model using performance library. I used compare_performance. My models are: mylogit_inst <- glmer(success ~ inst + (1|fish_ID), data = results, family = "binomial") mylogit_s <- glmer(success ~ inst_diff + (1+inst_diff|fi...
I am trying to model the following continuous variable (its distribution shown in the image below) through a GAMLSS according to different variables. The question I have is how to choose the type of distribution of y (the one shown below). From what I have read, this is a more trial and error thing: try a distribution ...
Given an existing regression curve, how do I properly account for the known variance I have in some new value of X? If I had an observation $x_{new} = 700$ with a variance $\sigma_x^2 = 150$ then how should I incorporate that information into my final answer for $y_{new}$? I can build a (very simple) regression model ...
I'm performing linear regression and hope to make claims about specific variables while keeping the others constant. I was wondering if this was possible. For clarity, I have three predictors: $\beta_1, \beta_2, \beta_3$ I want to see if the residuals of $\beta_1$ have non-constant variance or if a non-linear relation ...
I'm trying to solve a conundrum but can't figure out where I'm making the mistake. Let me define the Linear model as $$ \begin{align} y &= X \beta + \epsilon \\ \end{align} $$ Where $X$ is $N \times k$. Now we define our OLS estimates as $$ \begin{align} \hat{\beta}^{OLS} &= ( X^{T} X)^{-1}X^{T}y...
I have some binary outcome data - let's imagine it's inputs to some system, and based on the input, the system can return either "good" or "bad". Different inputs occur with different frequencies; input 1 could happen 5 times, while input 2 could happen 700 times. Some example data is below: input ID rating count ...
I am currently making my way through Harrell's Regression Modeling Strategies and Van Buuren's Flexible Imputation so that I can apply rigorous imputation methods in our workflows. On p 95 of Regression Modeling Strategies, Professor Harrell recommends imputing the data in the context of prediction if the degree of mi...
apologies for the dumb question but I’m a bit confused on using GLMs versus Time Series techniques. Say I am interested in determining whether or not a particular year has a higher mean than a baseline year. In my mind (assuming linearity) I’m thinking I could just build a linear regression with a response, $Y$, and a ...
I'm trying to wrap my head around how the shap package in Python works. I'm experimenting with shap by calculating shap values for a linear model since, from what I understand, one can calculate the true shap value $\phi_{ij}$ for the $i^{th}$ observation of the $j^{th}$ feature, $x_{ij}$, as follows: $\phi_{ij} = \hat...
At my local casino there is a one card poker game with the rules as follows: The game is essentially WAR you get a card and the dealer gets a card. To beat the dealer you need a higher value card (in this case Ace is higher than King). There is a side bet which I believe gives the player an advantage. Primary Bet: Lose...
Suppose $X=[X_1,\ldots, X_n]^T$ is a random (column) vector such that: $X_i \stackrel{i.i.d}{\sim} \mathcal{N}(0,\sigma^2), \ 1 \le i \le n$ $\mathcal{F} \in \mathbb{C}^{n \times n}$ is the discrete Fourier transform matrix $Z=[Z_1,\ldots,Z_n]^T:= \mathcal{F}X$ $A=[A_1,\ldots,A_n]^T:= [Z_1 \bar{Z_1},\ldots,Z_n \bar{Z...
I have two signals each have been plotted against time is there any way to eliminate the time and plot the signal1 vs signal2. The problem I am facing is the number of data points is not equal signal 1 has 1766 data points while the signal 2 has 845 but they are bound within almost identical time limits for signal 1 t...
I am given a bag containing marbles of two colors, with an unknown total number of marbles $N$. I randomly sample $n$ marbles ($n=n_1+n_2 < N$, where $n_1$ and $n_2$ are the number or marbles of the two colors) from the bag, without replacement. The likelihood of the true number of the two colors of marbles in the bag,...
I am using random forest classifier currently to do feature selection for a balanced dataset of about 18K rows and 7050 features. I recognize this is a lot of features. I am thinking of using random forest to select an arbitrary number of features (200-300) and then use recursive feature elimination to feature select e...
I have done a linear regression analysis in R (lm) to predict social unrest. I would now like to do a post hoc analysis to see if my prediction was more accurate for some countries / regions than others. What analysis in R would be feasible to examine this?
I am trying to find some books or texts specifically on mixed effect/multilevel/hierarchical survival analysis models and having a hard time. I have found books on survival analysis, OR, on linear or GLM mixed effect/multilevel/hierarchical models. Is anyone aware of resources when one is trying to do both? Ideally the...
If I have a vector $Z $ in $\mathbb R_d $ space and a vector $B$ in $\mathbb R_d$ space, $Z $ having independent Subgaussian coordinates, is $Z^\top B$ a Subgaussian random variable? I know sub-gaussianity is preserved under addition rule but is it preserved under any form of linear combination of subgaussian random va...
I have longitudinal data for multiple plant varieties, where plants were measured for their Performance at 10 time points (time) each year for 3 years. Each variety (genotype) serves as a distinct group with 3 individual plants (replicate). Performance is a measure of the living tissue remaining on the plant (0 - 100.0...
So I've been wishing to learn about $p$ value and hypothesis testing for a while now. But since my application is mainly in the domain of ML, and these concepts virtually never shows up in any of the textbooks/applications, therefore I am having a hard time finding the motivation to learn these concepts. For instance, ...
So I am training a model to predict baseball plate appearance outcomes, which I have been modelling as a single multi-class output problem, namely because single, mutually exclusive outcomes is what plate appearances lead to in real life, and as a result that is how my labeled data is structured (i.e. only have the act...
I am working on the example Senecio data from Blasco‐Moreno et al. (2019) using the pscl package in R. I would like to conduct pairwise comparisons of mean rates (Damaged/Total_heads) and don't understand the estimated marginal means for zero-inflated models. This is detailed in the code below. Inference for the negati...
I'm trying to analyze a dataset but am running into a problem with one of my models. The particular set of data I'm working with is species richness data (number of species seen during each sampling period) - formatted like this: etc I'm using glmmTMB in R to investigate the effects of land use and timeframe on specie...
I have been searching for alternate measures to compute spearman rank correlation that incorporates some sort of weighting in the calculation. I came across this paper by David C. Blest on weighted spearman rank correlation where he mentions the following result - $$\sum_{k=1}^{n}\sum_{i=1}^{k} (q_i - i) = \sum_{i=1}^...
I run two-way mixed ANOVAs to examine the effect of factorA (between-subject factor: 3 levels) and factorB (within-subject factor: 2 levels) on outcome variables. I then perform simple effect analysis (2 one-way anova for each level of factorB) and report Bonferroni-adjusted post hoc tests. Here are an example of my re...
If I have only one binary predictor variable for a binary outcome, is there any meaningful difference between doing hand calculation of odds ratio (OR = ad/bc), versus doing a univariate logistic regression and exponentiating the coefficient? The values I get are virtually the same after a 4-5 decimal points, plus the ...
For example: Suppose I am trying to predict the "HEIGHT" of a giraffe. If I have one highly correlated X variable, "AGE", and another X variable, "NUMBEROFSPOTS", which has little to no correlation with "HEIGHT", does the fact of including "NUMBEROFSPOTS" affect the effect that "AGE" has on the prediction? And in addit...
When fitting and forecasting using a seasonal ARIMA model with a total differencing of 1 (non-seasonal + seasonal), a constant term is necessary to capture the trend of the original data prior to differencing. In the case of the 'austourists' dataset from the fpp2 package in R, I utilized the auto.arima() function to o...
while I was reading the article with the title of 'Variational Learning of inducing Variables in Sparse Gaussian Processes', author said that GP posterior can be written by like this. I think it is correct to state $P(\mathbf z\mid \mathbf y) = \int p(\mathbf z\mid \mathbf f, \mathbf y)p(\mathbf f\mid \mathbf y)d \ma...
I have an experiment where people participate in a series of tasks (say 4) and then are scored based on their performance (pass/fail). The order of the tasks is randomized. I want to predict likelihood of passing on a given task based on whether they have previous experience with that task (Yes/No). I have generated so...
I want to identify the causal effect of renewable energy targets on the environmental policy stringency index (I got it from OECD) for EU countries. My hypothesis is that by setting a renewable energy (RE) target, environmental policies will have to respond in order to accomplish it (as it happened). I am thinking to u...
I have fitted my data to a linear model in R using generalized least squares accordingly: mod<-gls(Y ~ A * B+Z, data) and used weights due to heteroscedasticity as follows: mod_varpower<-update(object = mod,weights=varPower()) and then I run ANOVA (first question here, lets say A and B are f...
I have a panel dataset where I suspect a serial correlation. I found the vcovHC function in plm package which should solve both heteroskedasticity and autocorrelation. But in the documentation, they say All types assume no intragroup (...) correlation between errors and allow for heteroskedasticity across groups (...)...
statisticshowto and many other sources state that the exponential power distribution and the generalized normal distribution are the same. However, their pdf really look different: $$ f_{ep} = (e^{1-e^{\lambda x^k}}) e^{\lambda x^k} \lambda k x^{k-1} $$ $$ f_{gn} = \frac{\beta}{2 \alpha \Gamma(1/\beta)} e^{-{(\frac{|x...
I have four independent trials of a random variable. I have run a Shapiro-Wilk test on it and it is not normally distributed. I have two different images of a peak. The background is flat with a little bit of noise but no large trends. I am subtracting the two peaks and seeing if their difference is significant or if t...
I am currently trying to address a few number of clusters (n<15) for a nonlinear model (multinomial logit). I have already gotten an idea from Cameron et al. (2008) for a linear model to use "wild cluster bootstrap". In Stata 18, they release a new command "wildbootstrap" for this purpose. But, I have not found a good ...
In quasi-Monte Carlo, there is a rather strong notion "completely uniformly distributed" sequences, which somehow mimics independence and is described, for example, at the end of this post. While the theory is clear to me, how do we practically generate such sequences? I can't find a reference, but I think I've heard t...
I'm currently reading some lecture notes in the field of statistical physics for optimization problems. In there we are given a $N \times N$ symmetric matrix $Y$ as follows $$Y = \sqrt{\frac{\lambda}{N}} \vec{x}^*\vec{x}^{*\top} + \xi$$ where $\vec{x}^* \in \mathbb{R}^N$, $\xi_{ij} = \xi_{ji} \overset{\mathrm{i.i.d}}{\...
suppose I have a linear regression model that was trained on a dataset of size $n$. Unfortunately, I no longer have access to the original dataset; the only thing stored is the model parameters $B_0, B_1$. Suppose I come across another dataset (from the same distribution) of size $m$. Is it possible to combine the mode...
TL;DR: How could the $R^2$ of a linear model approach 1 when the outcome is solely determined by interaction terms (i.e., there's no underlying "main effect")? It doesn't seem to happen when covariates are normally distributed, only with binomials. Looking for insights. Hopefully the motivation here is simple enough: ...
Papers such as COCO and the VisDrone often list MAP, MAP50, MAP75 in their evaluation criteria. To my understanding, MAP is the averaged AP for all classes across an IoU range (0.5 - 0.95 for example), and AP is the area under the precision-recall curve, a curve plotted using precision and recall values at each IoU ste...
I've read that semi-supervised learning can be useful when you only have a small amount of labeled data. However, I'm struggling to understand the practical implications and benefits of this approach, e.g. for classification or regression tasks. Why would having a mix of labeled and unlabeled data in the training set i...
Trying to figure out how I can confirm that my A/B Test assignment is truly random. I know the runs test is used to test for randomness. Is it possible to use the runs test to check if my A/B Test assignment is random?
Say I have two samples coming from surveys with complex sample design (stratification, clustering, unequal probabilities of selection, etc...). How can I test if the the two samples come from the same population? I know about the Kolmogorov-Smirnov test for simple random samples. What's the generalization / equivalent ...
I have a theoretical question.. I have a model, let it be random forest I take 100 candidate features and train the model I select all the features that are important from the point of view of the model (important features from the random forest). Let the model select 40 features. I'll call it the basic feature set ...
I am trying to apply a model to my dataset. The way my response variable has been generated is a bit convoluted but it's been checked by my supervisor - I have strings of numbers (e.g 112222333322111) and I count the length of each run of numbers (1-2, 2-4, 3-4, 1-3). I then find the median length of these blocks (here...
I've come over the following two statements to manually improve the fit of an ARIMA model by changing its parameters $p,q$. If the AR coefficients sum to nearly 1 and suggest a unit root in the AR part of the model, eliminate 1 AR term and difference the model once (more). If the MA coefficients sum to nearly 1 and ...
I am learning about the likelihood function given iid random variables $X_i$ and realizations $x_i$: $\mathcal{L}(\theta | x) = \prod_{i=1}^n \mathbb{P}(X_i = x_i)$. One thing I am confused about is the $\mathbb{P}(X_i = x_i)$ expression. For probability density functions, isn't this not well defined? My understanding ...
Background: I am currently working in a role where I work in Assessment and Selection of right-fit applicants for teaching roles at a partner organisation. We presently use a rubric with a few competencies (or, variables) that we have selected based on qualitative research, piloting, and validation using post-selection...
In Neural Network Architectures I understand that lower dimensional mappings(for example mapping and input to a space of lower dimension) can serve the purpose of decreasing dimensionality while retaining the important information from the input. My questions is in what circumstances would we want to use a higher dimen...
I am trying to implement a 2-PL dichotomous IRT Model for my dataset from scratch in Python. Here is my code so far: def get_data_matrix(num_students, num_items): data = np.random.randint(0, 2, size=(num_students, num_items)) return data # Define the logistic function def logistic_func(theta, b, a): ret...
I've been pondering the differences in notation / language used in some of the resources I've read for statistics / machine learning. Warning: this might be embarrassingly obvious to any decent statistician, so apologies in advance. 1 iid data (Bayesian) I am a big fan of Pattern Recognition for Machine Learning (Bisho...
In randomized trials, I know that treatment effects such as the odds ratios, relative risks and hazard ratios are considered relative treatment effects. What about the following effect sizes? a. Mean differences b. ratio of means c. risk differences d. Arcsine differences
I need to test the relevance R of a variable X(1) in Y, and the possible effect that a second variable (θ) has on that same relevance R. To test it out, I thought of doing a regression (OLS) of Y on X(1) and X(2), where X(2i) = θ(i) * X(1i), 0 < θ < 1, and θ(i) ≠ θ(i+1) ≠ ... ≠ θ(i+N). However, I am concerned that this...
Some background information about what I am trying to model before asking my question: Long periods of hot temperatures and dry conditions (heatwaves) puts pressure on the components in the power distribution grid and eventually cause faults. My ultimate goal is to predict whether a power grid is in high risk, medium r...
This is a concept that I have always struggled to understand: We can write the formula for a Two Sampled T- Test (https://en.wikipedia.org/wiki/Student%27s_t-test) to compare the sample averages from two populations as follows: $$ t = \frac{\bar{x}_1 - \bar{x}_2}{\sqrt{\frac{(n_1-1)s_1^2 + (n_2-1)s_2^2}{n_1 + n_2 - 2}...
I am conducting a meta-analysis of observational studies without a control group that compared a parameter's value before and after an operation. All included studies have reported their results as pre-and-postoperative mean ± standard deviation and statistical analysis p-value. While it is possible to determine the st...
I spend a lot of time thinking about conditions under which various kinds of analyses perform well. To some degree I am hoping NOT to specify too many specifics here (because part of what I am interested in is the degree to which such any statements made can generalize), but for arguments lets say I have x=1-3 variable...
I am struggling with the (Monte Carlo) approximation of the entropy of convoluted Normal Inverse Wishart distribution. If anyone knows how to do it, I would like to borrow your wisdom. The following is a more concrete question. Suppose, there are two NIW distributions, $$ 1. p(\mu_a, \Sigma_a) = NIW(\mu_1, \lambda_1, \...
I thought that for an F-test to be valid we need mutual independence. In Granger causality, we use the residual sum of squares derived from two models, see https://en.wikipedia.org/wiki/Granger_causality. However, aren't all residuals within the residual sum of squares (RSS) dependent on each other? For instance, suppo...
I've been getting a bit stuck recently on how to reconcile the two seemingly-competing ideas of nondeterministic and probabilistic decision rules. As an example: Let $t=0$ denote the current time and let $t=T$ denote some future time. Let $w_t$ denote our wealth at time $t$. Assume we have a market with one risk-free a...
In R Studio I have a database with 77,000 rows and 50 columns, I divide the observations into train and test, and the train table is left with 59,000 observations, I am making the SVM model, I am now calculating with the tune function which parameters are the best using the radial kernel, and it never runs, it is alway...
For multiple comparisons, Bonferroni corrections are made. Depending on the number of pairs of comparisons, the level of significance is adjusted. For instance, for 4 pairs of comparisons at 95% C.I., it would be 0.05/4= 0.0125. Therefore, for an alpha level of 0.0125, the C.I. must be 97.5% and not 95%. Could somebody...