Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Probit Analysis Tool

Probit Analysis Tool is a WPF desktop application for probit analysis, LD50 estimation and confidence interval calculation.

The application is designed for experimental dose-response data where each row contains a dose, the total number of tested objects and the number of reacted objects.

Features

  • Enter dose-response records through a WPF interface
  • Store input rows in an editable table
  • Calculate reacted percentage
  • Calculate log10 dose values
  • Convert response probability to probit values
  • Apply Bliss/Abbott-style correction for boundary probabilities
  • Perform weighted linear probit regression
  • Estimate LD50
  • Calculate LD50 standard error
  • Calculate 95% confidence interval for LD50
  • Calculate additional LDx values: LD10, LD16, LD25, LD50, LD75, LD84, LD90, LD95 and LD99
  • Display detailed intermediate coefficients and result table
  • Show an information window with common numerical issues and validation notes

Input data

Each input record contains:

Dose      Positive numeric dose value
NITG      Total number of tested objects
Reacted   Number of reacted objects

Example:

Dose,NITG,Reacted
0.5,20,1
1,20,3
2,20,8
4,20,15
8,20,19

The sample file is available in samples/sample_input.csv. Current prototype expects manual entry through the UI.

Technologies

  • C#
  • WPF / XAML
  • .NET Framework 4.8
  • MathNet.Numerics
  • NuGet packages through packages.config

Project structure

ProbitAnaliz2.sln                    Visual Studio solution
ProbitAnaliz2/App.xaml               WPF app definition
ProbitAnaliz2/MainWindow.xaml        Main calculation UI
ProbitAnaliz2/MainWindow.xaml.cs     Probit calculation logic
ProbitAnaliz2/Info.xaml              Numerical notes window
ProbitAnaliz2/packages.config        NuGet package list
samples/sample_input.csv             Example input values

How to run

Requirements:

  • Windows
  • Visual Studio 2022
  • .NET Framework 4.8 Developer Pack

Steps:

  1. Clone the repository.
  2. Open ProbitAnaliz2.sln in Visual Studio.
  3. Restore NuGet packages.
  4. Build and run the project.
  5. Enter dose-response data and click Show Results`.

Current status

Prototype / work in progress.

The project is suitable as a portfolio example of scientific desktop software, WPF interfaces and statistical data processing. Future improvements may include CSV import/export, graph visualization, cleaner MVVM architecture, validation improvements and report generation.

Author

Created by HardesFaktorProg.

About

WPF desktop tool for probit analysis, LD50 estimation and confidence interval calculation.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages