Error after code's done running

Hello! I get the following warning when I run the attached stan code.

Warning message:
In system(paste(CXX, ARGS), ignore.stdout = TRUE, ignore.stderr = TRUE) :
‘-E’ not found


data {
  // Define variables in data
  // Number of level-1 observations (an integer)
  int<lower=0> N;
  // Number of level-2 clusters
  int<lower=0> Ni;
  // Cluster IDs
  int<lower=1> level2[N];
  int K;
  // Continuous outcome
  real<lower=0> Y_ij[N];
  // Continuous predictor
  matrix[N, K] X_ij;
  int<lower=0> ni_l[Ni];
  int<lower=0> ni_u[Ni];
  vector<lower=0>[N] timeSince_t0;
  int<lower=1> ni[Ni];
}

parameters {
  // Define parameters to estimate
  //Parameters of covariates
  vector[K] alpha;
  // Level-1
  real<lower=0> sigma;
  
  // Level-2 random effect
  real ui[Ni];
  real<lower=0> tau;
}

transformed parameters  {
  vector[N] mu;
  
  for (i in 1:N) {
    mu[i] = ui[level2[i]] + X_ij[i,]*alpha;
  }
}

model {
  // Prior part of Bayesian inference
  sigma ~ inv_gamma(100, 100);
  tau ~ inv_gamma(100, 100);
  alpha ~ normal(0, 1);

  // Random effects distribution
  ui ~ normal(0, tau);

  target += normal_lpdf(Y_ij | mu, sigma);
}

Should I be concerned about the warning?

Thanks!

If that is the only warning you are seeing, then it is safe to ignore it.

2 Likes

It’s the only warning for this model.
Thanks!

1 Like