instruction
stringlengths
9
38.7k
In the derivation of global minimum variance portfolio, we get The $(Σ^{-1}1) /(1'Σ^{-1}1)$. What's the meaning of $1'Σ^{-1}1$ and $Σ^{-1}1$. $Σ$ is a covariance matrix of assets returns.
I'm trying to follow Prof Strang exercise but I have a problem with the signs of the resultant matrix. He also had a problem with the signs during the exercise, so I have no way to find what is the error. Can somebody point me what I'm doing wrong? Thanks in advance, Diego These are my results: > A [,1] [,2] [...
I am not a statistician so apologies if my terminology is wrong I have a dataset of >14 million p values derived from Fisher's exact testing on genome scale sequencing data. Benjamini-Hochberg correction of these p-values turns out only ~1500 significant p-values so I have been attempting to use qvalue R package to rel...
I have an argument with my advisor over data visualization. He claims that when representing experimental results, the values should be plotted with "markers" only, as presented in the image bellow. While curves should only represent a "model" I on the other hand believe that a curve is unnecessary in many cases in or...
I have 2 data sets. The first data set, let's call it $X$ has an average value of ($\bar X$) and standard deviation of ($STD_X$), the second set of data also has the average value of ($\bar Y$) and standard deviation of ($STD_Y$). I want to find out the standard error or standard deviation of a percentage change of dat...
who can help me to resolution of this statistic exercise? below the track: Caio go in a bank,the number of customers ahead him are described by a Poisson random variable of parameter a>0. Calculate the average waiting time knowing that: -the waiting time is given by the sum of service time of single person. -the timing...
I need to create a computer program for randomizing subjects using stratified randomization with permuted-block randomization, so I want to make sure my thinking is correct: Suppose that in an experiment, there are two groups (control and treatment), and we want to block on two factors: gender (male, female) and race (...
I am running an Cox regression with my data. In my final model I had four potential predictors and did first a forward (Wald method) Cox regression and then for validation of my model a backward (Wald method) cox regression. Unfortunately I got two different models. What can I do now? Is there any convention to decide ...
I'd like to plot the probability distribution for a set of binomial trials in R, the catch is that each trial has an independent probability of success (which I have in vector form). So, in R if I were doing this with coin tosses: plot(x,dbinom(x,10,.5)) would work, where x is 0:10. This shows the probability distribut...
My response variable $Y$, number of nodes, is quantitative discrete (only positive values), while my 2 covariates are $X1$, number of days (quantitative discrete), and $X2$, city (categorical variable with 10 levels). I only have 10 (independent) observations and the $Y$ variable is definitely not Gaussian, so I have ...
Are there any other distributions with similar properties to the family of stable distributions? That is, $\alpha$-stable, normal tempered stable, classical tempered stable, etc. etc. where the distribution could exhibit the following properties: Heavy tailed, leptokurtotic, symmetric or asymmetric but can still retain...
So I got my training set with 70% of my data called "train" / 30% "test" I use ctree to get my decision tree model with something like this code below : model_ctree <- ctree(response ~ x1 + .. xn , data = train) How can I apply this model to "test" and evaluate the model, use something like lift or gain chart or ROC...
I am trying to reimplement the lowess algorithm in java. I read the matlab page explaining lowess with the following steps: Compute the regression weights for each data point in the span. A weighted linear least-squares regression is performed. For lowess, the regression uses a first degree polynomial. The smoothed ...
I would try to clarify the problem and then ask the questions. The problem (variable names are masked due to confidentiality): I ran a binary logistic regression, in which there were 5 independent variables (IVs): A, B, C, D, and E. A and B are my concern. C is also my concern and I would talk about it later. They ha...
How does one account for model inputs that are both a) auto-correlated and b) calibrated over time? I'm interested in forecasting the outcomes of sporting events. Let's say that each team has a score that is assigned each week of the season that indicates how good or bad that team is. That score is updated each week ba...
I have data with which I plot a histogram. I would like to know the standard deviation of each bar of histogram. Do you think it is an acceptable method to divide the samples into sub-samples for which I calculate the height of a bar (and so I will get a new sample of heights), and with this new sample I calculate a st...
I have a set of probabilities that an event will occur (yes/no). E.g. [0.87, 0.56, 0.97], and I need to know "What is that probability that at least X of these events occurs?". I've been looking into Binomial Probability Density and related tests, but they all seem to assume that the probabilities for each event are th...
I'm looking into some classification tasks at the moment. The test data is unbalanced where one particular class is half the data and the remaining 5 take up the remainder of the test data. When I look at the output for some of the classifiers I notice that the AUC is over .8 while the TPR and FPR might be something su...
I am writing a programme to simulate the age at which women will get breast cancer. I have data on the cumulative incidence rate for the whole population. What I am doing right now is using Monte Carlo methods at every 5 year age step from 0 years old to the age of women have cancer. But this seems stupid and inefficie...
I'm looking to obtain standard errors for constrained linear model estimation. I'd like to be able to estimate standard errors and confidence intervals for the coefficients of $\beta'$ estimated via: $$ \beta' = \underset{\beta}{\operatorname{arg\,min}} \, (\mathbf{y} -\mathbf{X}\mathbf{\beta})^2 \ \ \ s.t.\ \ \ \mathb...
I hope I am able to word my question clearly. Suppose I have a model below: glmer(Y~X + (1|subject), family="binomial", data=dat) The intercept is the log odds of success for the reference level (level 1 of X), and the slopes indicate the log odds ratio of the other levels to the reference level. Estimate...
I have been very interested lately in learning Bayesian Statistics, but I have only a little bit of background in the frequentist statistics, only one term at University. Some of the books that I have seen are extremely mathematically oriented like: Bayesian Theory, José Bernardo. Probability and Statistics, Degroot...
My dependent variable shown below doesn't fit any stock distribution that I know of. Linear regression produces somewhat non-normal, right-skewed residuals that relate to predicted Y in an odd way (2nd plot). Any suggestions for transformations or other ways to obtain most valid results and best predictive accuracy? ...
I want to know if is there any possible way to calculate Jaccard coefficient using matrix multiplication. I used this code jaccard_sim <- function(x) { # initialize similarity matrix m <- matrix(NA, nrow=ncol(x),ncol=ncol(x),dimnames=list(colnames(x),colnames(x))) jaccard <- as.data.frame(m) for(i...
I am trying to reproduce the results from this answer in CrossValidated with no luck. I keep getting an error when calling: print("Fitting Penalized Linear Model") GLMmodel <- train(X,Y,method='glmnet',trControl=myCtrl,tuneLength=10) Here is the error: [1] "Fitting Penalized Linear Model" Error in { : task 1 faile...
I have a multivariately distributed random 3-vector $$\mathbf{x}=\begin{pmatrix}x_1\\x_2\\x_3\end{pmatrix}\sim\mathbf{N}\left(\begin{pmatrix}2\\-1\\3\end{pmatrix},\begin{pmatrix}4&1&0\\1&2&1\\0&1&30\end{pmatrix}\right)$$ and I'd like to compute $\text{cov}(x_1x_2,x_1x_3)$. I don't think the fact that $\text{cov}(x_1,x_...
I have 12 groups of datasets (mostly non-Normal, quite right-skewed), and I would like to see if there is a significant difference within each pair. (But the data itself is not a paired dataset, as in dataset #1 and dataset #2 that I am comparing are from independent populations.) My data also has outliers (following t...
I have some data I need to analyze, and some prior knowledge I'd like to apply. I have discrete time points, and noisy, continuous outputs $x(t)$ that I observe at those time points, and would like to infer the discrete state $y(t)$ that is most likely to correspond to $x(t)$. If it matters, I know the distributions ...
I have a dataset containing the performance of a novel instrument to screen for disease A. The novel instrument uses a scoring system to score the subject to determine if they have disease A. I then proceed to use logistic regression to use the novel instrument and demographic variables such as age and gender to classi...
I understand the intuition behind the OLS model: to minimize the squared residuals. Is there a way, however, to interpret the formula for the slope of the regression line intuitively? That is $m = r(sd_y/sd_x)$. I know the formula gives me the slope, but how? Put in another way, what is the most intuitive way to vi...
I'm modelling some proportional data using a binomial GLM - ie fitted values are sigmoidal - but the data look like they may be better fit by a straight line (model validation plots of a simple linear model suggest this is ok too). Is there any way to compare these models to see if one fits better than the other? I'm ...
My dataset is sports data and the outcome variable is wins in a season and I am trying to see the affect of the characteristics of the players on the team on this outcome. My question is, is it easier to use interactions or construct a measure? I want to know if players attending a top 25 college affects wins when othe...
I don't know a lot about sampling methods. I have a large population of size 2,000,000. I used one of those sample size calculators. It says that I need sample size of approximately 10,000. I am trying to find the probability p of success for the population. It is not feasible for me to test all 2,000,000 members ...
This is part of a larger question, about sample distribution of means, that I'm having problems understanding, so please bear with me. If I record the time between planes landing, and have 250 observations, are those 250 observations my "population", or does the term "population" refer to all the values, i.e. if I had ...
I want to study relations between sites categories and species abundances through PCoA or CAP using vegan::capscale. For doing so, I overlay species scores on my ordination. However, I am getting confused with the different scaling options and their interpretation. From what I understood: With scaling=1, arrow show...
My first and I think naive question here. I am trying to model a certain business, and the simplest model I am willing to test is: 1. there is a bag of differently biased coins. 2. every step, a single coin is chosen with equal probability. 3. the chosen coin is flipped and returned to the bag. The business goal is to ...
Im working through a textbook atm and Ive read that the mean of "the sampling distribution of means" is the same as the "populations" mean. To construct the sampling distribution of means, i need to take X * number of independent samples (where each sample is composed of >= ~30 observations) from the population, calcul...
I am trying to check what is the probability that a new observation is anomalous or not? Suppose I have the following set of observations: x <- c(11,22,3,4,25,6,7,1,1,2,1) where the sample mean of $x$ is 7.545455 and the sample standard deviation is 8.489566 Suppose I observe a new value of $x$, 111, which is anomalou...
I am not sure if this is the right place to ask this question (if not, please refer me to the right place), but it would be nice if someone could help me: Description of the Data/the Scenario: I have access to a huge amount of secondary data (>10000 cases) from a sourcing department of a company in the time-span from 2...
I have a data set which fits a logNormal distribution quite well. (From a theoretical point of view, it is some hard-to-tackle quotient distribution). However, the data is quite dirty, so parameter estimation is far from trivial. Right now, my approach is the following: Shift the distribution such that the minimum is ...
I designed a Bayesian model and sampled the posterior using a MCMC algorithm. My problem is that the posterior marginal distribution of a given latent intermediate variable appears to be uniform just as the prior I assigned to it. In practice this variable is supposed to have a substential importance on the model. Mor...
I have a dataset I'm working on that has some co-variate shift between the training set and the test set. I'm trying to build a predictive model to predict an outcome, using the training set. So far my best model is a random forest. How can I deal with the shifted distributions in the training vs. test set? I've com...
I am trying to model some data that follows a sigmoid curve relationship. In my field of work (psychophysics), a Weibull function is usually used to model such relationships, rather than probit. I am trying to create a model using R. My model will have a 'shape' and 'scale' value. In order to generate this model, I wou...
I'm running a series of permutation tests inside 2 for loops (2 for loops will calculate some new data and then this data will be shuffled and then i apply a linear regression based on the shuffled data). Here is my code: for(i in seq(1,12000,200)) { for j in seq(1, 12000, 200)) { for(ind in 1:n...
In presentations of k-means to compute the centroid of a new cluster the Euclidean average seems to always be used. If the similarity metric used is not the Euclidean metric it seems to me this other metric should be used to determine the centroid. So my questions are: 1) what results are there that indicate that usin...
I want to build a regression model to predict daily income from customers. I have 2 problems: 1. Choosing data for the training set - do I use daily income from 1 month ago, 6 month ago etc. 2. How do I validate the model - I can use the model to predict the income from the customer on the first day, the second day etc...
I have a learning problem from $X$ to $Y$ where: $X$ = $n$ input numeric vectors of $m$ dimensions $Y$ = $n$ output numeric vectors of $k$ dimensions In other words:       I am hoping to collect a list of R packages or Python libraries for multiple-output problems for classification and regression. For example, do...
I have created an ARX-model where I predict the nitrogen oxide levels based on past values of nitrogen oxide with past exogenous input values nitrogen dioxide, temperature, atmospheric particulate matter, etc. This might be a straightforward question, but I started to wonder if for example my ARX-model would be the fol...
I am currently faced with the problem of explaining variance in an evaluation where users rate Cloud services on a quality scale. My data looks as follows: Dependent variable: Quality score (ratio scale) Independent variable: loss rate (ratio scale, can easily be mapped to interval scale and represented in R as a fa...
Suppose I have a matrix X which is n by p, i.e. it has n observations, with each observation in p-dimensional space. How do I find the variance of these n observations? In the case where p = 1, I just need to use the regular variance formula. What about the cases where p > 1.
We are conducting a study which has a pre-post design. The unit of the study is the outpatient visit. In each visit, we study how patients and physicians interact. Each physician will see between 3-6 patients and most of these patients (ie, except for dropouts) will be seen twice: once in the pre-phase, once in the p...
To identify unwanted vibrations in a machine, I am looking for sharp peaks in spectra calculated from a measured acceleration time series. The acceleration data were recorded during a 10-second test consisting of multiple 2-second periods in which conditions were constant, interrupted by 0.2-second periods of transitio...
Is machine learning an important subject for any statistician to become acquainted with? It seems that machine learning is statistics. Why don't statistics programs (undergraduate and graduate) require machine learning?
Suppose we have some training set $(x_{(i)}, y_{(i)})$ for $i = 1, \dots, m$. Also suppose we run some type of supervised learning algorithm on the training set. Hypotheses are represented as $h_{\theta}(x_{(i)}) = \theta_0+\theta_{1}x_{(i)1} + \cdots +\theta_{n}x_{(i)n}$. We need to find the parameters $\mathbf{\theta...
I've come across a rumour that some study showed that the performance of predictive models depends more on the expertise of the data analyst with the chosen method than on the choice of the method. In other words, the claim is that it is more important that the data analyst is familiar with the chosen method than how "...
I read in Wikipedia: In stratified k-fold cross-validation, the folds are selected so that the mean response value is approximately equal in all the folds. In the case of a dichotomous classification, this means that each fold contains roughly the same proportions of the two types of class labels. Say we are ...
I have sampled 8 individuals (birds) from two regions. For each of these 16 individuals I have sampled 9 feathers that have each grown in sequential order (from 1 to 9). Next I have measure both carbon and nitrogen isotopes in each of the feather samples. I have plotted (Fig. 1) my data and in some individuals the rela...
I am trying to plan out a study plan for learning MLE. In order to do this I am trying to figure out what is the minimum level of calculus that is necessary to understand MLE. Is it sufficient to understand the basics of calculus (i.e. finding the minimum and maximum of functions) in order to understand MLE?
I am attempting some variable reduction before I perform a logistic regression. I am quite interested in using Hmisc::varclus in R. However, I am having some difficulty interpreting the output. As far as I can tell, the (tree) plot produced using varclus is the only built-in way to get information on the groups crea...
I would like to know what the distribution is of linear combinations of Poisson random variables. I know that a linear combinations of Poisson random variables is not always a Poisson random variable, namely $Y : = \sum_k a_k X_k$ with $X_k \sim Pois(\lambda_k)$. Now, $Y$ is only Poisson if all $a_k$ are 1 and else $Y...
Ridge Regression can be expressed as $$\hat{y} = (\mathbf{X'X} + a\mathbf{I}_d)^{-1}\mathbf{X}x$$ where $\hat{y}$ is the predicted label, $\mathbf{I}_d$ the $d \times d$ identify matrix, $\mathbf{x}$ the object we're trying to find a label for, and $\mathbf{X}$ the $n \times d$ matrix of $n$ objects $\mathbf{x}_i = (x_...
I was reading this article related to generalized linear models: http://en.wikipedia.org/wiki/Generalized_linear_models. It gave a specific example Ordinary linear regression predicts the expected value of a given unknown quantity (the response variable, a random variable) as a linear combination of a set of observed...
I would like to know how to correctly interpret conditional density plots. I have inserted two below that I created in R with cdplot. For example, is the probability of the Result being equal to 1 when Var 1 is 150 approximately 80%? The dark grey area is that which is the conditional probability of the Result bein...
How does one model the Binomial distribution where the probability of success is the result of another Binomial distribution. For example, say I make 10 coin tosses many times and record the number of heads (H). Then for each set (i) of 10 coin tosses I put Hi black marbles, and 10-Hi white marbles in a jar and make ...
When obtaining MCMC samples to make inference on a particular parameter, what are good guides for the minimum number of effective samples that one should aim for? And, does this advice change as the model becomes more or less complex?
I'm having a bit of trouble understanding the blue dotted lines in the following picture of autocorrelation function: Could someone give me a simple explanation, what they are telling me?
I am doing a Poisson regression analysis and have found that the type of programme a student is enrolled on to does not have a significant effect on the outcome. When it comes to writing out the fitted equation would I need to include the programme if it does not have an effect?
I was trying k-medoids algorithm for clustering in R, and just removing stopwords is taking hours. After I removed stopwords, I let the algorithm run overnight and it wasn't done after 8-9 hours. I am trying to cluster 40.000 documents, what alternatives do I have? Should I wait it out? I am just afraid that it will ne...
I was wondering if anyone could explain the difference between balanced accuracy which is b_acc = (sensitivity + specificity)/2 and f1 score which is: f1 = 2*precision*recall/(precision + recall)
I am a newbie at R and I'm stuck at the following code $y=c(2.5,6.0,6.0,7.5,8.0,8.0,16.0,6.0,5.0,6.0,28.0,5.0,9.5,6.0,4.5,10.0,14.0,3.0,4.5,5.5,3.0,3.5,6.0,2.0,3.0,4.0,6.0,5.0,6.5,5.0,10.0,6.0,18.0,4.5,20.0) x2=c(650,2500,900,800,3070,2866,7500,800,800,650,2100,2000,2200,500,1500,3000,2200,350,1000,600,300,1500,2200,90...
I'm familiar with a traditional Error Correction Model (ECM) of the form $$Y_{t}-Y_{t-1}=\Pi Y_{t-1}+\sum_{i=1}^{p-1}\Gamma_{i}\left(Y_{t-i}-Y_{t-i-1}\right)+\varepsilon_{t} $$ where $\Pi=\alpha\beta'$, $\alpha$ is the long-run adjustment, $\beta$ is the matrix of cointegrating vectors, and $\beta'Y_{t-1}$ is stationa...
I am working on a multiple regression model that will forecast the value of loans being granted within the current month. The data points are broken down per day ( Jan will have 31 data points etc) and I will be updating the model every week. I have 4 independent variables driving the model. I am currently testing the ...
In a nested design (e.g., students in schools, ants in colonies, individuals in a species, leaves in a tree), ICC is defined as the proportion of variance among observations from the same subject (over total variation, i.e., variance within + residual variation). See, e.g., answer here When in the design there are one ...
From Introductory Time Series with R: If the random variation is modelled by a multiplicative factor and the variable is positive, an additive decomposition model for $\log(x_t)$ [where $x_t$ is the observation at time $t$] can be used: $\log(x_t) = m_t + s_t + z_t$ [where $m_t$, $s_t$ and $z_t$ are, respectively, te...
Background Introduction I have a data set consisting of data collected from a questionnaire that I wish to validate. I have chosen to use confirmatory factor analysis to analyse this data set. Instrument The instrument consists of 11 subscales. There is a total of 68 items in the 11 subscales. Each item is scored on an...
I'm using R and have two vectors of discrete values. They are not strictly speaking categorical because the values themselves are number of dots counted on the image of a cell (whole vector is all the cells on the image). There are two vectors: reference and a vector with dot counts after some perturbation What I belie...
I know that $\frac{1}{n-1}\sum_{i=1}^{n}(X-\bar{X_{n}})^{2}$ is an unbiased estimator for the variance. I thought of such an estimator to be useful when it is not know from which distribution the data at hand are coming from. Now given I have a data set and I do know which is the underlying distributions of the observa...
I'm trying to find a way to visualize the results of an association analysis where I corrected for confounding variables. I have a set of cytokine data (amount of protein in the blood) from a set of patients infected and uninfected with HCV. The difference between the two is minimal when we test/visualize the raw data....
My data is a balanced panel: 12 years $\cdot$ 600 ids $\cdot$ 12 months = 86,400 observations. For about 150 of my 600 ids, at a certain point in this 12 year period a treatment is applied switching them to the "treated" or "on" state. A dummy variable AFTER indicates when this is true. My outcome is a count, positive ...
I am used to fitting 3-level HLM with HLM software, but now I am moving to nlme or lme4 in R. Unfortunately, though, I am struggling a little bit with the proper specification/notation of the random parameters of the 2nd and the 3rd levels. What I am trying to do is to estimate a 3-level linear model where some of the ...
Can you please suggest the metrics/tests for accessing the quality of Y-randomization (permutation)? I have some doubts in quality of Y-randomization that I am using with sample.int from R. For 100 Y-randomization runs I found that in average 2% of the instances are falling into themselves, and around 5% of instances a...
Please forgive me if the question is non-sensical as I only have a elementary knowledge of statistics, and I have no idea where to start. I want to perform an analysis of some web analytics information, and determine which of our partners we should be building stronger relationships with because they are sending us hig...
I have seen formulas that either sum or subtract entropy values (eg Information Gain). However, I have not seen a "multiplication/division of entropy values" anywhere. I would like to know if there is any formula/theorem that multiplies/divides entropy values. Additionally, I would like to know if there is any mathemat...
I am working on a classification problem with the following characteristics: Individuals belong to one of three groups. The groups are "somewhat ordinal": controls, subclinical and clinical group. Each individual is measured five times on each predictor. These are technical replicates taken at the same time. All predi...
I have written an R script for obtaining bootstrapped standard errors in the linear regression setting. In practice, first in a model building step I select the final model to be applied at each bootstrapped sample (for simplicity suppose that it is a simple univariate linear model). Then I simulate B = 1000 bootstrap ...
I have two independent groups who travel with different modes. I want to compare the distance traveled (which is a continuous variable) by different modes for these two groups. How do I compare them in SPSS? My sample size is small: each group has only 32 observations. Sorry, I am a newbie in stats. Here is the actua...
I ran some experiments first. Afterwards, I looked for the parameter $p_{max}$ for which I can claim the chance a matrix has the ESP-property is $p_{max}$ or lower to a significance of exactly 99%. Is this correct on a more philosophical basis? I'm doing research in computer science, and have a test to determine whethe...
Let's say I have a set of scalar values $V$ that I sampled from a set $S$. I want to test whether a given value $X$ could be a member of $S$ or not. I understand that if the values in $V$ are distributed normally, then we can find the mean and standard deviation, after which you can determine the probability of occurr...
I am having some confusion relating to cross-validated deviance of a lasso fit. I am not sure what is being done. Let's say I run lassoglm in Matlab for my dataset having 1000 examples and 15 features with a CV of let's say 100. What does it do? And what does the plot lassoPlot with CV do? I am referring to this link...
If I construct a 2-D matrix composed entirely of random data, I would expect the PCA and SVD components to essentially explain nothing. Instead, it seems like the the first SVD column appears to explain 75% of the data. How can this possibly be? What am I doing wrong? Here is the plot: Here is the R code: set.seed(1) ...
I am confused about "parametric" and "non-parametric": Our topic is nonparametric estimators for probability of default. So first of all, we consider the generalized linear models, as an example we have probit and logit: $\pi (x)=G(\beta_0 +\sum \beta_i x_i)$ These generalized linear models are parametric models right...
Using wikipedia I found a way to calculate the probability mass function resulting from the sum of two Poisson random variables. However, I think that the approach I have is wrong. Let $X_1, X_2$ be two independent Poisson random variables with mean $\lambda_1, \lambda_2$, and $S_2 = a_1 X_1+a_2 X_2$, where the $a_1$ ...
I am doing the following experiment: I have slots which I monitor, the slot can either be occupied / free. The study is per slot, so we are discussing one slot here. Every now and then I receive the following indications for example: s(2)=free, which means that once a spot was free (after it was occupied) it remained f...
I am trying to fit a lasso penalized logistic regression model to a certain data. I am using lassoglm for that in matlab. I use the following function [B,FitInfo] = lassoglm(X,Y,'binomial','Lambda',0.01,'CV',10); Using 10 fold cross validation, it will use different samples every time to fit the model. However, I didn...
I have a linear regression with two explanatory variables. One of them is a two level categorical variable. When I perform the fit, R tells me that the intercept is highly non significant. When I force the intercept to be zero in the regression, it tells me that the coefficient for the 0-level of the categorical variab...
I have a set of data in which the response variable is continuous and the other independent variables are dichotomous (not naturally occurring). I think I have to perform Biserial correlation (I an aware of the difference between point biserial and biserial correlation). How can I do this on SPSS or any other statist...
I'm trying to understand when credibility intervals are useful? Are there examples of real world situations where credibility intervals are the better thing to use compared to confidence intervals? Note that by "useful", I mean maximizing some concrete real-world objective (so not for instance trying to get posterior i...
I'm trying to compare several sets of experiment data, by comparing means. I read there are several different tests such as Each Pair, Student’s t and All Pairs, Tukey HSD, which give different circles of different radius, an example shown below How are the circles defined? How do I calculate the radius? And is there...
I am seeking answers similar to this post, but for the F distribution rather than the normal distribution. I seem to have set off alarm bells by asking for source code. A non-coded answer would also be useful, although there seem to be non-obvious implementation issues such as continued fractions, floating point preci...
Assume we have n number of sets with varying number of elements, some of which appear in more than one set. Each element can have zero or more attributes. If we are told that an element appears in all the sets, what is the probability that it has a specific attribute t? As a concrete example, let's say we have two deck...