Home
last modified time | relevance | path

Searched refs:dof (Results 1 – 25 of 76) sorted by relevance

1234

/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dchi_square.cc106 double ChiSquareValue(int dof, double p) { in ChiSquareValue() argument
113 if (dof < 1 || p_value > 1.0) { in ChiSquareValue()
117 if (dof > kLargeDOF) { in ChiSquareValue()
124 const double mean = 1 - 2.0 / (9 * dof); in ChiSquareValue()
125 const double variance = 2.0 / (9 * dof); in ChiSquareValue()
128 return std::pow(z * std::sqrt(variance) + mean, 3.0) * dof; in ChiSquareValue()
137 double current = dof / std::sqrt(p_value); in ChiSquareValue()
139 if (ChiSquarePValue(current, dof) < p_value) { in ChiSquareValue()
156 double ChiSquarePValue(double chi_square, int dof) { in ChiSquarePValue() argument
168 if (dof > kLargeDOF) { in ChiSquarePValue()
[all …]
Dchi_square.h80 double ChiSquareValue(int dof, double p);
83 double ChiSquarePValue(double chi_square, int dof);
Dchi_square_test.cc331 const int dof = 7; in TEST() local
333 double p_value_05 = ChiSquarePValue(14.067, dof); in TEST()
336 double p_actual = ChiSquarePValue(chi_square, dof); in TEST()
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dchi_square.cc106 double ChiSquareValue(int dof, double p) { in ChiSquareValue() argument
113 if (dof < 1 || p_value > 1.0) { in ChiSquareValue()
117 if (dof > kLargeDOF) { in ChiSquareValue()
124 const double mean = 1 - 2.0 / (9 * dof); in ChiSquareValue()
125 const double variance = 2.0 / (9 * dof); in ChiSquareValue()
128 return std::pow(z * std::sqrt(variance) + mean, 3.0) * dof; in ChiSquareValue()
137 double current = dof / std::sqrt(p_value); in ChiSquareValue()
139 if (ChiSquarePValue(current, dof) < p_value) { in ChiSquareValue()
156 double ChiSquarePValue(double chi_square, int dof) { in ChiSquarePValue() argument
168 if (dof > kLargeDOF) { in ChiSquarePValue()
[all …]
Dchi_square.h80 double ChiSquareValue(int dof, double p);
83 double ChiSquarePValue(double chi_square, int dof);
Dchi_square_test.cc331 const int dof = 7; in TEST() local
333 double p_value_05 = ChiSquarePValue(14.067, dof); in TEST()
336 double p_actual = ChiSquarePValue(chi_square, dof); in TEST()
/external/abseil-cpp/absl/random/internal/
Dchi_square.cc106 double ChiSquareValue(int dof, double p) { in ChiSquareValue() argument
113 if (dof < 1 || p_value > 1.0) { in ChiSquareValue()
117 if (dof > kLargeDOF) { in ChiSquareValue()
124 const double mean = 1 - 2.0 / (9 * dof); in ChiSquareValue()
125 const double variance = 2.0 / (9 * dof); in ChiSquareValue()
128 return std::pow(z * std::sqrt(variance) + mean, 3.0) * dof; in ChiSquareValue()
137 double current = dof / std::sqrt(p_value); in ChiSquareValue()
139 if (ChiSquarePValue(current, dof) < p_value) { in ChiSquareValue()
156 double ChiSquarePValue(double chi_square, int dof) { in ChiSquarePValue() argument
168 if (dof > kLargeDOF) { in ChiSquarePValue()
[all …]
Dchi_square.h80 double ChiSquareValue(int dof, double p);
83 double ChiSquarePValue(double chi_square, int dof);
Dchi_square_test.cc331 const int dof = 7; in TEST() local
333 double p_value_05 = ChiSquarePValue(14.067, dof); in TEST()
336 double p_actual = ChiSquarePValue(chi_square, dof); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dchi_square.cc106 double ChiSquareValue(int dof, double p) { in ChiSquareValue() argument
113 if (dof < 1 || p_value > 1.0) { in ChiSquareValue()
117 if (dof > kLargeDOF) { in ChiSquareValue()
124 const double mean = 1 - 2.0 / (9 * dof); in ChiSquareValue()
125 const double variance = 2.0 / (9 * dof); in ChiSquareValue()
128 return std::pow(z * std::sqrt(variance) + mean, 3.0) * dof; in ChiSquareValue()
137 double current = dof / std::sqrt(p_value); in ChiSquareValue()
139 if (ChiSquarePValue(current, dof) < p_value) { in ChiSquareValue()
156 double ChiSquarePValue(double chi_square, int dof) { in ChiSquarePValue() argument
168 if (dof > kLargeDOF) { in ChiSquarePValue()
[all …]
Dchi_square.h80 double ChiSquareValue(int dof, double p);
83 double ChiSquarePValue(double chi_square, int dof);
Dchi_square_test.cc331 const int dof = 7; in TEST() local
333 double p_value_05 = ChiSquarePValue(14.067, dof); in TEST()
336 double p_actual = ChiSquarePValue(chi_square, dof); in TEST()
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dchi_square.cc106 double ChiSquareValue(int dof, double p) { in ChiSquareValue() argument
113 if (dof < 1 || p_value > 1.0) { in ChiSquareValue()
117 if (dof > kLargeDOF) { in ChiSquareValue()
124 const double mean = 1 - 2.0 / (9 * dof); in ChiSquareValue()
125 const double variance = 2.0 / (9 * dof); in ChiSquareValue()
128 return std::pow(z * std::sqrt(variance) + mean, 3.0) * dof; in ChiSquareValue()
137 double current = dof / std::sqrt(p_value); in ChiSquareValue()
139 if (ChiSquarePValue(current, dof) < p_value) { in ChiSquareValue()
156 double ChiSquarePValue(double chi_square, int dof) { in ChiSquarePValue() argument
168 if (dof > kLargeDOF) { in ChiSquarePValue()
[all …]
Dchi_square.h80 double ChiSquareValue(int dof, double p);
83 double ChiSquarePValue(double chi_square, int dof);
Dchi_square_test.cc331 const int dof = 7; in TEST() local
333 double p_value_05 = ChiSquarePValue(14.067, dof); in TEST()
336 double p_actual = ChiSquarePValue(chi_square, dof); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dchi_square.cc106 double ChiSquareValue(int dof, double p) { in ChiSquareValue() argument
113 if (dof < 1 || p_value > 1.0) { in ChiSquareValue()
117 if (dof > kLargeDOF) { in ChiSquareValue()
124 const double mean = 1 - 2.0 / (9 * dof); in ChiSquareValue()
125 const double variance = 2.0 / (9 * dof); in ChiSquareValue()
128 return std::pow(z * std::sqrt(variance) + mean, 3.0) * dof; in ChiSquareValue()
137 double current = dof / std::sqrt(p_value); in ChiSquareValue()
139 if (ChiSquarePValue(current, dof) < p_value) { in ChiSquareValue()
156 double ChiSquarePValue(double chi_square, int dof) { in ChiSquarePValue() argument
168 if (dof > kLargeDOF) { in ChiSquarePValue()
[all …]
Dchi_square.h80 double ChiSquareValue(int dof, double p);
83 double ChiSquarePValue(double chi_square, int dof);
/external/fastrpc/src/
Dadspmsgd_apps_skel.c121 #define _COPY(dst, dof, src, sof, sz) \ argument
126 *(struct __copy*)_OFFSET(dst, dof) = *(struct __copy*)_OFFSET(src, sof);\
129 #define _COPYIF(dst, dof, src, sof, sz) \ argument
131 if(_OFFSET(dst, dof) != _OFFSET(src, sof)) {\
132 _COPY(dst, dof, src, sof, sz); \
Dadspmsgd_adsp1_stub.c120 #define _COPY(dst, dof, src, sof, sz) \ argument
125 *(struct __copy*)_OFFSET(dst, dof) = *(struct __copy*)_OFFSET(src, sof);\
128 #define _COPYIF(dst, dof, src, sof, sz) \ argument
130 if(_OFFSET(dst, dof) != _OFFSET(src, sof)) {\
131 _COPY(dst, dof, src, sof, sz); \
/external/abseil-cpp/absl/random/
Dlog_uniform_int_distribution_test.cc170 const int dof = buckets.size() - 1; in ChiSquaredTestImpl() local
173 const double threshold = absl::random_internal::ChiSquareValue(dof, 0.98); in ChiSquaredTestImpl()
178 const double p = absl::random_internal::ChiSquarePValue(chi_square, dof); in ChiSquaredTestImpl()
189 trials, kChiSquared, dof, chi_square, p, in ChiSquaredTestImpl()
/external/angle/third_party/abseil-cpp/absl/random/
Dlog_uniform_int_distribution_test.cc174 const int dof = buckets.size() - 1; in ChiSquaredTestImpl() local
177 const double threshold = absl::random_internal::ChiSquareValue(dof, 0.98); in ChiSquaredTestImpl()
182 const double p = absl::random_internal::ChiSquarePValue(chi_square, dof); in ChiSquaredTestImpl()
193 trials, kChiSquared, dof, chi_square, p, in ChiSquaredTestImpl()
/external/webrtc/third_party/abseil-cpp/absl/random/
Dlog_uniform_int_distribution_test.cc170 const int dof = buckets.size() - 1; in ChiSquaredTestImpl() local
173 const double threshold = absl::random_internal::ChiSquareValue(dof, 0.98); in ChiSquaredTestImpl()
178 const double p = absl::random_internal::ChiSquarePValue(chi_square, dof); in ChiSquaredTestImpl()
189 trials, kChiSquared, dof, chi_square, p, in ChiSquaredTestImpl()
/external/openscreen/third_party/abseil/src/absl/random/
Dlog_uniform_int_distribution_test.cc174 const int dof = buckets.size() - 1; in ChiSquaredTestImpl() local
177 const double threshold = absl::random_internal::ChiSquareValue(dof, 0.98); in ChiSquaredTestImpl()
182 const double p = absl::random_internal::ChiSquarePValue(chi_square, dof); in ChiSquaredTestImpl()
193 trials, kChiSquared, dof, chi_square, p, in ChiSquaredTestImpl()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dlog_uniform_int_distribution_test.cc174 const int dof = buckets.size() - 1; in ChiSquaredTestImpl() local
177 const double threshold = absl::random_internal::ChiSquareValue(dof, 0.98); in ChiSquaredTestImpl()
182 const double p = absl::random_internal::ChiSquarePValue(chi_square, dof); in ChiSquaredTestImpl()
193 trials, kChiSquared, dof, chi_square, p, in ChiSquaredTestImpl()
/external/libtextclassifier/abseil-cpp/absl/random/
Dlog_uniform_int_distribution_test.cc174 const int dof = buckets.size() - 1; in ChiSquaredTestImpl() local
177 const double threshold = absl::random_internal::ChiSquareValue(dof, 0.98); in ChiSquaredTestImpl()
182 const double p = absl::random_internal::ChiSquarePValue(chi_square, dof); in ChiSquaredTestImpl()
193 trials, kChiSquared, dof, chi_square, p, in ChiSquaredTestImpl()

1234