| The function of discrimination has been applied to diagnose three types of tumors, namely breast tumors, bone cancer and lung cancer, for their prevalence in our society. For the purpose of this study, the values of observations were recorded for five variables (sex, age, patient's profession, the sample random of size (270 patients) studied in two models: the parametric model (linear discrimination function) and the nonparametric model (the nearest neighbor function). The results were extracted using the statistical program Stata as well as the statistical package SPSS. With a view to reaching Li best model the lowest rank possible error, was reached that the nonparametric model (nearest neighbor) is superior to the parametric model (linear discrimination function) in terms of the lack of proportion of the wrong classificationتم تطبيق دالة التمييز لتشخيص ثلاث أنواع من الأورام السرطانية وهي سرطان الثدي وسرطان العظم وسرطان الرئة لكثرة شيوعها في مجتمعنا حالياً, ولغرض دراسة هذا الموضوع تم تسجيل قيم المشاهدات لخمس متغيرات وهي (الجنس, العمر, مهنة المريض, حالة خروج المريض, فترة بقاء المريض في المستشفى) من عينة عشوائية بسيطة بحجم (270 مريض) درست في نموذجين وهي النموذج المعلمي (دالة التمييز الخطية) والنموذج اللامعلمي (دالة الجار الاقرب)، واستخرجت النتائج باستعمال البرنامج الاحصائي Stata فضلاً عن الحزمة الاحصائية الجاهزة SPSS , وتم استعمال معيار خطأ التصنيف كمعيار للمقارنة بين النماذج, بهدف الوصول إلى أفضل نموذج باقل خطأ تصنيفي ممكن, وتم الوصول الى ان النموذج اللامعلمي (الجار الاقرب) ذو تفوق على النموذج المعلمي (دالة التمييز الخطية) من حيث قلة نسبة التصنيف الخاطئ. |