instruction
stringlengths
9
38.7k
I've computed some variable measures using the packages, gbm, randomForest and party. I develop binary classification models predicting survival in cancer patients. Although the gbm package, randomForest package and party package is well described in both CRAN files, vignettes and publications, they don't mention much ...
I am reading the Wikipedia article on posterior probability and I note the expression: $$P(\theta|X) = \frac{P(X|\theta)P(\theta)}{P(X)}$$ I understand that $\theta$ represents the parameters of the probability model underlying $P$. However, what is actually meant by $P(\theta)$ and how would I calculate this? In so...
Let $\epsilon_n$ denote a real-valued discrete-time stochastic process of residuals, the ARCH($p$) specification is given by \begin{equation} \label{1.1} \epsilon_n=Z_n\sqrt{\sigma_n} \end{equation} \begin{equation}\label{1.2} \sigma_n=\alpha_0+\sum \limits_{i=1}^p\alpha_i\epsilon_{n-i}^2\,, \end{equation} where $\alp...
I'm having a concrete problem I'm trying to solve but I'm not sure in which direction I should go. Goal: Identify formation of a soccer team based on a static positional data (x,y coordinates of each player) frame Input: Dataframe with player positions + possible other features Output: Formation for the given frame L...
I am looking for an alternative to restricted cubic splines, which can provide a numerical result that is easier to interpret and compare (as far as I understand, this is not easily possible with splines - at least not when using rcs from the rms package. The prediction-plot suggests that the association follows largel...
Let us suppose that we're to evaluate the expectation of a random variable $h$ with respect to some distribution $\pi$, $\text{E}_{\pi}[h]$. The standard Monte Carlo estimate, using a sample of $X_1, X_2, \dots, X_N$ generated from $\pi$, is the familiar empirical average $$ \bar{h}_N = \frac{1}{N}\sum_{i = 1}^{N} h(X...
I have been unable to calculate the same d-error of an example Balanced Incomplete Block Design (BIBD) from the AlgDesign R package. I ran the example: # A block design for 7 treatments in 7 blocks of size 3. BIB<-optBlock(~.,withinData=factor(1:7),blocksizes=rep(3,7)) , which has a d-error of 0.08033556 according t...
How is the accuracy of the results of Gibbs sampler measured? Most resources merely say to iterate it $k$ times. But how does one infer the accuracy of the result?
I am a little confused about whether this graph shows stationary or non-stationary time series:
My experiment looks at the effect of 6 different treatments on various (usually 18) physical and chemical properties of the test material (silage), at several different time points. I do my statistical analysis using R. I had been using ANOVA (aov()) (with Tukey's test (HSD.test()) for post hoc analysis), but was oft...
Let me use daily price prediction of Bitcoin as a simple example (I am not actually working with Bitcoin but its temporal nature fits well to explain my question). Say I had a data set consisting of the last 101 sequential days of Bitcoin's closing prices [p1, p2, p3, ... , p101], where pX is the closing price on day X...
I am currently trying to figure out the problem of endogenity, which occurs when an explantory variable is correlated with the error term. There are apparently different causes for endogenity, but one of the most frequent one seems to be omitted variable bias. I created a short R-code in order to understand the dynamic...
In a neural network (MLP), we can define the error function during training the difference between the target output and the output for the current input. Now we use backpropagation like so: Calculate the error of the current layer (starting with the output layer going back). Calculate the gradient of the current laye...
I'm using liblinear to classify documents. The input are arrays of tf-idf scores. Everything is working well, but now I'm trying to determine optimal parameters. I set up a loop of cross validation operations with cost incrementing from loop to loop. However, even over hundreds of iterations I see no effect from changi...
I have performed several kind of cluster analysis: hierarchical cluster analysis, mclust analysis for high dimensional dataset and TDA mapper which uses cluster analysis also. Now, I would like to understand which of these analysis could cluster better my data, so analysis using silhouette index may be a good solution....
I have come across a moment generating function for a random variable $Y$ of the following form $$M_Y(t) = \mathbb E\left[e^{tY}\right] = \left[1 - \frac t \beta\right]^k.$$ So it is basically $[M_X(t)]^{-1}$ for some $X$ that is $\text{Gamma}(k, \beta)$ distributed. Is there a known distribution for $Y$?
Suppose we have a uniform distribution over all categorical distributions p for m categories, where the pdf has the form $$ f(x) = \left\{\begin{aligned} &c, && 0 \le p_i \le 1, i = 1, ..., m, \textstyle \sum_{1}^{m}p_i = 1 \\ &0, && \textrm{otherwise} \end{aligned} \right.$$ How do you show that $$ c = (m - 1)! $$
I am working on a randomized trial in which patients were randomized to one of two groups and followed over time, they were assessed at 5 time points including baseline. The outcomes include continuous measures (amount of pain) and dichotomous ones (various side effects). Ordinarily, I would use multilevel models (lin...
I have a fairly simple problem but haven't been able to find any resources with the solution. Let's say we have a population of N subjects. We get a sample of size n, and within that sample we have k 'positives' (and thus n-k negatives). Now, we're interested in computing a confidence interval on the probability of get...
I've been struggling with how to analyse my data. I have three sets of non-parametric, unpaired data where n~100. Let's call them WT, KO and Con. I want to know if: WT differs from KO WT differs from Con KO differs from Con I have completed this in graphpad using "Dunn's multiple comparisons" but have been told using...
I have 10000 bricks. Each brick contains multiple physicians. I have features at brick level. I created a regression model with dependable variable as sales. Hence, I got sales at brick level in validation set. I used average /weighted average to distribute the sales at physicians level. This method works quite well an...
I have a set of data about which I would like as a first step, discover some interesting or frequent relationships. For this I know that there are several algorithms, like association or sequence learning or rules. However, I just know FP-growth. Which other alternatives of this algorithms, can I use to extract rules o...
I have a generalised linear mixed effect model with 5 fixed effects and two by-subject and by-item random intercepts. The outcome variable (Slide4_YesNo) is the participants' responses in a recognition memory task (Old = 1, New = 0). Old_Lure is the condition (i.e. Old, lure) and it is a factor with two levels. The oth...
Suppose we have a convolutional neural network trained for task A, and we wish to adapt it for a similar task B. Generally speaking, we preserve the convolutional weights and fully connected layers, and then fine-tune the network for the new task. Further simplifications include freezing the first portion of convolutio...
My question is two-fold: Should I transform the non-normal variables in the dataset (described below)? If so, how? How does this affect the regression model that I need to use? The Dataset I have a dataset that is non-normal in some of the independent variables and the dependent variable. An example distribution of...
I have two binary random variables, say $y_A\sim Bernoulli\left(p_A\right)$ and $y_B\sim Bernoulli\left(p_B\right)$ that represent probability of default. I need to superimpose a sort of dependency on both and I was thinking to set $p_A=k_A*\tilde G$ and $p_B=k_B*\tilde G$ being $G$ a gamma variate with $E\left[G\right...
In an exercise that asks to estimate the odds ratio the GLM is fitted without the intercept (see code below). It's the first time I see such a configuration and at first sight it seems right but I am unable to find an intuitive justification of why, I just generally feel that this way everything is explained by the lev...
I have a multivariate (multi-response) dataset with, for example, 10 different binary responses. I'm interested in an AR(p) model, determining how the responses at previous time steps relate to the current responses. That is, I'm looking for: $P(Y_t \mid Y_{t-1}, ... Y_{t-p}) = \ell(\beta_0 + \beta_1Y_{t-1} + ... + \be...
I am looking for a closed-form version of this formula: \begin{align*}\text{P} &= \int_{-\infty} ^{\infty} \left[1 - \left(\int_{-\infty} ^{t}\right.\right.\ldots\\ &\left.\left.\ldots\int_{-\infty} ^{t} \dfrac{1}{\sqrt{2\pi}\sigma_{2}} e^{-\frac{(x-\mu_{2})^{2}}{2\sigma_{2}^{2}}} \dfrac{1}{\sqrt{2\pi}\sigma_{3}} e^{...
My experiment is to test the different diets (Pk, Hg, BYD & Control) in order to check the development of insect, what are the most preferred diets by insect. For this purpose, I used 3 parameters; time (days) taken from larval to adult stage (LA), Pupal weight (PW) and Number of adults recovered (ADLT). I have mixed c...
I have read some related questions, such as: Why are mixed data a problem for euclidean-based clustering algorithms?, What data structure to use for my cluster analysis or what cluster analysis to use for my data?, K-Means Clustering with Dummy Variables, k means with binary variables, How to use both binary and contin...
How to know whether a Gibbs sampler is irreducible? I know that the Gibbs sampler in e.g. two variable case constructs a sequence of r.v.s $(X_1^{(i)}, X_2^{(i)})$ by sampling from the related conditional distributions, rather than the joint distribution of these r.v.s However, how would I infer, whether the Markov cha...
I have run two separate random effects meta-analyses to estimate summary effect sizes (risk ratios). Both analyses are based on randomized controlled trials examining same treatment for identical populations. The only difference between the two meta-analyses are that the first model includes studies that follow up part...
I am doing a project that is looking at testing various imputation methods for estimating missing wind speed at a site in Trinidad. The dataset consist of hourly wind speeds for 15 years. I have tried simple methods like listwise deletion, mean substitution, linear regression, cublic & linear interpolation, nearest nei...
In artificial neural networks, activation functions are used for neurons, i.e. the sigmoid activation: Which can be implemented in code as (in Python): def sigmoid(x): return 1 / (1 + math.exp(-x)) How can we implement a biological activation function, such as the Hodgkin-Huxley model, whose mathematical form is:...
This may sound weird, but is it possible to cluster linearly dependent samples (not linearly dependent features)? Suppose I have a matrix, where each row represents a feature vector for a sample: $\begin{bmatrix} 1 & 1 & 1 & 1 & 1\\ 1 & 3 & 1 & 2 & 9\\ 4 & 4 & 4 & 4&4 \\ 9 &9&9&9&8 \\ 3 & 4 &1...
My question is related to this one: LIME explanation confusion. But since it does not have a reproducible example or an answer, I am asking here with an example. I have a dataset with unbalanced classes. Here I make a reproducible example with the wine data from the breakDown package. My actual data is even more unbala...
I want to fit a model to a dataset by using an optimization procedure (i.e. scipy's least_square). My original MLE/least-squares objective function is: $$ \underset{\theta}{\text{argmin}}\left( \frac{1}{2} \sum_n[f(x_n|\theta) - y_n]^2 \right)$$ As a next step, I want to incorporate a prior distribution on the $\theta...
In Network in Newtork, section 3.2, talks about global average pooling (GAP). In my understanding, GAP averages every value of (x,y) coordinate in 1 feature map into 1 value, then send this value to softmax function for classification. Why is this able to work? I can easily generate some counter examples whose featur...
I am using the condMVNorm package. I can get the density estimate for 1 value as follows. dcmvnorm(x=25, mean=c(0.0365670625664382, 25.0443209966689), sigma=matrix(c(0.9591622, 2.036596, 2.036596, 5.306735), nrow=2, ncol=2), dependent.ind=2, given.ind=1, X.given=0) In t...
I'm building a linear mixed-effects model, and I'm not sure how to best structure my data. I was forced to collapse the response variable for each of the three conditions, so I am not even sure that it is possible to do what I'd like. Details below. I have 6 conditions (0, 20, and 30%, each @ X3=0 or 1), and I effectiv...
I am performing The Fisher-type test to test for stationarity for a panel data. There are 4 p-values for this test right? the inverse chi-squared (P), inverse-normal (Z), and inverse-logit (L*) and a modified version of the inverse chi-squared (Pm). The problem is that I find, for example, three of them reject the null...
Show that if $A$, $B$ and $C$ are pairwise independent events and $P(B \cap C)$ is not $0$, then the following conditions are equivalent: (1) $P(A)=P(A \mid B \cap C)$ (2) $P(A \cap B \cap C)=P(A)P(B)P(C)$.
Friends, I have a dataset of 7446 with one dependent variable which is " service time" and 8 independent variables. the dependent variable and one of the independent variables are numeric variables and rest of the independents are all binary variables. as the attached picture shows, the Pearson correlation between the ...
Using the wilcox.test() function in R, I get the p-value. I want to report the z-score for the test. How can i get the z-score for wilcox test in R?
Suppose I have a Gaussian process regression $Y(s)= x(s)\beta +w(s) + \epsilon (s) $ where $w(s)$ is the spatial process and $\epsilon(s)$ is the nugget effect. I have a bit of difficulties understanding how to achieve the explicit form of $$ ||\text{Cov}(y(s,s')) - \text{Cov}(w(s, s'))||^{2}_{F}$$ given that: cov$(w(...
I know that with some classification algorithms, you can get higher accuracy if you use weak learners and have them vote. So if each weak learner has 55% accuracy, I can have all of them tell me the class they predict and take the more common class (in the case of binary classification). I'm trying to understand the ...
The No Free Lunch Theorem says that no learning algorithm is better than another. What about brute force? Brute force works on all problem cases.
I am looking for distributions of weights in the neural network as a function of the depth of the layer. Intutively, I expect that near convergence, the deeper layers to have weight matrix will have many near zero values, and a few larger values. Are there any papers on this subject which you could recommend?
I have a set of attributes that make up a feature (e.g 'Accommodation' in the sample below), each attribute has a weight range specific to the feature as per the picture. The intention is to have each attribute to take a real number value, apply a function that ensures that the each attribute weight range is applied to...
I developed two version of the same algorithm to detect and analyze some medical data through iPhone's camera and I want to compare the result in a mathematical way in order to know which algorith gives better results. The results of the test can be : SUCCESS, FAIL or INVALID. I tested 56 samples with both the algori...
I am trying to use DID method, but my dependent variable is count data. I tried to search if there was any paper regarding this matter, but I could find only those based on DID in probit and logit. What I am making is Poisson regression where X*beta part of exponential is just a linear DID model. I will estimate with...
I am building a random forest to predict a binary variable y. I have several predictors named x1..n. One predictor, lets say x1, is a very strong predictor of y but only in some cases (see below) while the others x2..n are fair predictors in all cases. Specifically, x1 is a strong predictor when a variable z is great...
I'm evaluating two different techniques of identifying the representation of the motor network within the brain. Both techniques identify the center of gravity of the motor network in MRI coordinates based on physiological output. So what I have is 8 datasets of coordinates for both techniques. The 2 techniques clearl...
I would like to compare the goodness of fit for a regression model fitted to two separate groups (patients and controls). I want to compare goodness of fit (as opposed to difference in slope). I thought one way of doing this would be comparing the R value of the model in patients vs the value in controls in a Fisher R-...
Imagine I have a big dataset $\textbf{X}$ that constitutes my independent variables and I want to predict a vector of 2 components, $\mathbf{Y} = (y_1, y_2)$. A regression will be something like $\mathbf{Y} = f(\textbf{X}, \textbf{W})$, with $\textbf{W}$ the weights or coefficients and $f$ a function that can be linear...
If one has to sample (with replacement) from a population $(x_1,x_2,\ldots)$ with weights $(\omega_1,\omega_2,\ldots)$, possibly infinite (although this is asking too much without further details), a standard simulation procedure is to sum these weights $\omega_i$ into $$\mathfrak{s}=\sum_i\omega_i$$ assumed to be fini...
A basic assumption of something as simple as OLS regression is that the covariates are continuous. Often this is only partly the case, e.g. heart rate is often reported in integer number of bpm, yet the underlying value is clearly continuous, not discrete. When doing kernel density estimation, there are suggestions for...
I am not sure about what I understand from the official documentation, which says: Returns: A pair (outputs, state) where: outputs: The RNN output Tensor. If time_major == False (default), this will be a Tensor shaped: [batch_size, max_time, cell.output_size]. If time_major == True, this will be a Tensor shaped: [...
We conducted an exploratory factor analysis using the psych package with oblique rotation and found an acceptable solution with 3 factors. Now a reviewer ask me to provide the proportion of variance explained by each of these factors. Having seen other posts on this issue (What's the relationship between initial eigenv...
I am looking at a panel data with binary outcomes in each year. The ultimate use of the model I build is for prediction. The cross-sections are quite tall (~100,000 non-cases and ~5,000-20,000 cases) but the number of years is few. I suspect that there may be both a time-varying intercept and one time-varying coefficie...
In a dataset of activity of various variables (rated from 0 to 4) the final score(%) is based on a formula of all the variables. In some case the variables apply based on activity else they are NA(null) I am interested to find out the weakest variable per activity. I have used multiple regression and whichever variable...
I am quite new to Gaussian processes. A Gaussian Process looks like the following: Where the dark blue line denotes the mean, and the filled-area denotes the mean+std and mean-std respectively. From what I know, we can calculate the predicted mean function as follows $K$ denotes the kernel used $x_*$ denotes the x-...
With Random Forests, one can estimate the prediction error using out-of-bag simulations. So for every sample in the training/test-set, one can estimate the predictive uncertainty. What would be the equivalent way to measure predictions error in Neural Nets? Does the oob-error quantify epistemic (model) of aleatoric (...
I'm participating in a research by applying some computer vision processing on some images, and I got asked how I could put a watermark on the images in case someone else uses the dataset for purposes not intended on the paper. Example: Our dataset mustn't be used to create a Convolutional Neural Network with Caffe. Wh...
I want to add drift in the data over time. I want to have real-valued independent variables ($x\in\mathbb{R}^{t}$) and a real-valued response variable ($y\in\mathbb{R}^t$)? I want to simulate $y=f_t(x)=a(t)x+b$ where $a(t)$ is a function of time and controls drift. How can I add simulate data using the above equation? ...
I try to test a time series for white noise. The ultimate goal is to show that scaling volatility from daily to longer time periods by the square-root of time rule is justified. Fore white noise I found the classical tests such as the Ljung-Box test. An example of its application can be found in Forecasting: principles...
I understand the conceptual difference between confidence and credible intervals. But I have difficulties applying these concepts to my application. I would like to know the concrete difference between the confidence interval and the credible interval for the variance $\sigma^2$ . For simplicity, we can assume normally...
I have 2 maps, a location value is represented $(x,y)$ on Map1 and $(X,Y)$ on Map2. I want to know how much rotation and translation is needed to match Map1 and Map2. i.e. I need to calculate $\theta, a,b$ in the following equation. $$ \begin{bmatrix} X \\ Y \\ 1\end{bmatrix} = \begin{bmatrix} \cos\theta & -\sin\theta ...
I'm trying to implement an automated system for spotting random selectors on some job. Simply, I'm trying to find out a scientific way to come up with a formula or rule to be implemented in this system. The Scenario is: 1000 allegedly native German speakers are asked to look at a word and just decide if this word is in...
I am completing a meta analysis and the common metric I am using is pearson's r. For studies that report comparisons of means rather than correlations should I convert the t-test statistic the author has reported into r using the equations I have seen in many meta-analysis books, or is it more accurate to use the means...
I'm currently working on a project researching whether Google Trends can predict conflict events in intrastate conflicts. Thus I have two different datasets; the weekly Google Trends search volume and the number of conflict events per week. My idea was to do the following to test my hypothesis: Use an outbreak detecti...
I’ve been taught that one of the criteria for being a “confounding” variable is that it should not be a path variable / mediator (ie. not a descendant of, or associated with, the exposure, and is independently associated with the outcome). Adjusting for such a variable would introduce bias. My question is, are there ci...
I am analysing data from an open cohort and because there is a selection bias associated with the exposure, I calculated the propensity score (PS) and used it as covariate in my regression model (PS covariate adjustment). I am aware that many prefer other PS methods such as matching and weighting but I wanted to keep i...
In the above image, It is the part of the resNet Architecture, here they have used dotted line to increase the dimension, but my question is How they are increasing the dimension?? or this dotted line is just a convolution layer to increase the dimension?
I would like to cluster not only single observations, but I would like to cluster all observations for temperature together as a temperature course. So the goal is to cluster the temperature courses. This is what I mean by temperature course and precipitation cource: The data: I have monthly means for a year of temper...
I have a problem in Probability. Below is the question:- You found a black cage which has only one sparrow. The sparrow is either red or blue in color. Another sparrow, which is blue in color, is thrown into the cage. Now you open the door of the cage and let one bird fly. The sparrow which came out happens to be blue....
I try to use a linear mixed model to test a difference hypothesis of a within subject design. The design has one within factor with 11 different levels (nominal). One of this level is considered the control condition and I want to compare all other condition vs. the control condition. Therefore, I specified it as refer...
I've tried searching for answers on this site, but I've not found a clear answer. I have a dataset with around 9471 observations and 10 attributes. I wish to fit a Ridge Regression model, and figure out what the optimal Alpha I should finally end up using in the model. I could try a range of values from 0 to 10. What...
Let $X_{1},X_{2}, \dots \sim_{i.i.d.}$ some Borel probability distribution on $\mathbb{R}^{k}$; let $\mathbb{E}X_{1} \equiv m$; let $\text{var} X_{1} \equiv V$. Then it can be shown that $\sqrt{n}(\bar{X}_{n} - m)$ converges in distribution to multivariate normal with mean $0$ and variance $V$. After utilizing the i.i....
My dependent variable is an index that lies within the range [0, 1]. I did a Tobit RE specification. However, I attempt to compare the parameter estimates with that of the method of the fractional regression model. Papke and Wooldridge (2008) method is applicable when dealing with balanced panels. However, in 2010, Wo...
I want to do a linear regression in SAS between two variables. What I would get is the parameter for the mean of my response variable (and the 95% confidence interval for the parameter), but that is not what I want. For example: If Predictor=3, Response=13, prediction interval between 10 and 16 What I want to know is w...
Suppose I have a very large population of parts with a known 20% failure rate. Suppose I randomly select 5 samples and inspect for the known failure. I calculate that the probability of all five samples passing is =0.8*0.8*0.8*0.8*0.8=0.328 P( 0.8 ∩ 0.8 ∩ 0.8 ∩ 0.8 ∩ 0.8 ) = 0.328 I believe this is correct. If I revers...
I want to do a mediation analysis for variables Y,X,M in statistical package R. I have perform the following regression models: Y=intercept1+a0*X M=intercept2+a*X Y=intercept3+c*X+b*M For the mediation analysis i have used the package: library(mediation) The results from the estimated parameters from regression models...
Is it possible to utilise the system GMM estimator using xtabond2 when our dependent variable lies within the interval [0, 1]. Moreover, the mass point is at around 0. Thank you, Sagnik
From https://arxiv.org/pdf/1611.08097.pdf, "Geometric deep learning: going beyond Euclidean data". Here are some uses: "methods of signal processing on graphs, which have previously been reviewed in this Magazine [43], can be applied to this setting, in particular, in order to define an operation similar to convolutio...
On a chessboard a single random knight performs a simple random walk. From any square, the knight chooses from among its permissible moves with equal probability. If the knight starts on a corner, how long, on average, will it take to return to that corner? I understand the question. I know that from the corner the kn...
I'm working on a HW implementation of DT and need a way to optimize the splitting procedure. quoting from this thread: Will decision trees perform splitting of nodes by converting categorical values to numerical in practice? The second thing is that in case of binary classification for Gini impurity there are proofs t...
Why do we compute the control limits for the individuals or XmR chart with an estimated sigma, 2.66 x mR(avg)? I understand that the overall population sigma is different. But why is one more appropriate than the other?
The lab I work in uses equivalence. When we get a significant result from a two one-sided test, we conclude that true difference between mu1 and mu2 is likely inside the specified margin, which is taken to be the largest difference that is of no clinical significance. I'm interested in using Bayesian estimation instead...
Suppose I have some observations $(x_i,y_i)$ from some population—y is binary and x is a real number or vector of real numbers. x y 1 1 1 0 nan 1 nan 0 ... 4 1 I would like to build a model to predict $y|x$ Assume all cases have $y$ and that I remove all, for example, 50% of the cases that have missing $...
In meta-analyses, it's common to report the I-Squared statistic as a measure of heterogeneity of results across studies. The definition given by Higgens 2003 as "the percentage of total variation across studies that is due to heterogeneity rather than chance" seems fairly intuitive, but there are some details aren't cl...
For some set of $n$ i.i.d. variables $\{X \}$ which are Rayleigh-distributed such that $$ P(X|\sigma) = \frac{X}{\sigma^2}\exp{\left[-\frac{X^2}{2\sigma^2}\right]} $$ I'm interested in anything we can write down analytically about $$ Y = \ln{\left(\sum_{i=1}^{n} X_{i}^{2}\right)}. $$ Primarily I'm trying to get express...
Suppose I have two 30-day time series consisting of spatial averages of some meteorological variable like global wind speed, for two experiments (over the same 30 days). Each day, there might be a different number of observations, with some days potentially having very few. The two experiments will usually have very si...
I've learned multiple regression, but never did I learn hierarchical regression (i.e., the hierarchical testing of nested regression models) before. Based on the image attached, I assume because the first F change is 2.783, the first F ratio is 2.783? How do we know if this first F ratio is significant? Since the next...
From Wikipedia, Gaussian Copula, it states that a Gaussian Copula can be defined as: $$ C_P(u_1, \ldots, u_d) = \boldsymbol{\Phi}_P(\Phi^{-1}(u_1), \ldots, \Phi^{-1}(u_d)), $$ where $\boldsymbol{\Phi}_P$ is the joint cumulative distribution function of a multivariate normal distribution with mean vector zero and covari...
If i have this linear model $$Y_{i,t}=\gamma_t(x_i)+v_{i,t}, v_{i,t} \stackrel{iid}{\sim}N(0,\sigma^2), i=1,\ldots,m.$$ $$\gamma_t(x)=\beta_{1,t}+\beta_{2,t}\frac{1-e^{-\lambda x}}{ \lambda x}+ \beta_{3,t}\left( \frac{1-e^{- \lambda x}}{\lambda x}-e^{-\lambda x}\right)$$ Assume that x= c(3,6,9,12,15,18,21,24,30,36,48,...
Consider a simple cross-sectional regression model, $$y = \alpha + \beta \cdot T + \gamma \cdot x + \delta \cdot x \times T + \varepsilon,$$ where $T$ is a binary randomized treatment indicator, and x is a covariate (say pre-experimental outcomes, or fixed characteristics of the units). The motivation for adding $x$ is...
Suppose I have a posterior distribution, $p(\theta \mid y)$, where $y$ was my data and $\theta$ is a random variable with some prior distribution. If I specify a one-to-one transformation $\phi = g(\theta)$, how does the Jacobian look like? Would it be: $$ p(g(\theta)\mid y) = p(\theta|y)|g(\theta)|^{-1}? $$ I am ulti...
Put simply, the standard error of the sample mean is an estimate of how far the sample mean is likely to be from the population mean, whereas the standard deviation of the sample is the degree to which individuals within the sample differ from the sample mean. If the population standard deviation is finite, the standa...